aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/upslug/upslug2.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/upslug/upslug2.inc')
-rw-r--r--recipes/upslug/upslug2.inc30
1 files changed, 30 insertions, 0 deletions
diff --git a/recipes/upslug/upslug2.inc b/recipes/upslug/upslug2.inc
new file mode 100644
index 0000000000..1450cf26a0
--- /dev/null
+++ b/recipes/upslug/upslug2.inc
@@ -0,0 +1,30 @@
+# This package builds the 'upslug2' binary upload/flash tool
+# for the NSLU2. It is not useful for anything else.
+PR = "r1"
+DESCRIPTION = "NSLU2 binary upload tool (version 2)"
+HOMEPAGE = "http://www.nslu2-linux.org/wiki/Main/UpSlug2"
+SECTION = "console/network"
+PRIORITY = "optional"
+LICENSE = "MIT"
+COMPATIBLE_MACHINE = "nslu2"
+
+# On Linux libpcap does not work. Using libpcap is sub-optimal - it
+# is intended for packet capture not management of a new protocol
+# stream - so you may want to try the linux options on other operating
+# systems.
+LIBPCAP_OECONF = "--with-libpcap"
+LIBPCAP_OECONF_linux = ""
+LIBPCAP_OECONF_linux-uclibc = ""
+LIBPCAP_RDEPENDS = "libpcap"
+LIBPCAP_RDEPENDS_linux = ""
+LIBPCAP_RDEPENDS_linux-uclibc = ""
+
+RDEPENDS += "${LIBPCAP_RDEPENDS}"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/nslu/upslug2-${PV}.tar.gz"
+
+inherit autotools
+
+S = "${WORKDIR}/upslug2-${PV}"
+
+EXTRA_OECONF += "${LIBPCAP_OECONF}"