1 # This package builds the 'upslug2' binary upload/flash tool
2 # for the NSLU2. It is not useful for anything else.
4 DESCRIPTION = "NSLU2 binary upload tool (version 2)"
5 HOMEPAGE = "http://www.nslu2-linux.org/wiki/Main/UpSlug2"
6 SECTION = "console/network"
9 COMPATIBLE_MACHINE = "nslu2"
11 # On Linux libpcap does not work. Using libpcap is sub-optimal - it
12 # is intended for packet capture not management of a new protocol
13 # stream - so you may want to try the linux options on other operating
15 LIBPCAP_OECONF = "--with-libpcap"
16 LIBPCAP_OECONF_linux = ""
17 LIBPCAP_OECONF_linux-uclibc = ""
18 LIBPCAP_RDEPENDS = "libpcap"
19 LIBPCAP_RDEPENDS_linux = ""
20 LIBPCAP_RDEPENDS_linux-uclibc = ""
22 RDEPENDS_${PN} += "${LIBPCAP_RDEPENDS}"
24 SRC_URI = "${SOURCEFORGE_MIRROR}/nslu/upslug2-${PV}.tar.gz"
28 S = "${WORKDIR}/upslug2-${PV}"
30 EXTRA_OECONF += "${LIBPCAP_OECONF}"