summaryrefslogtreecommitdiffstats
path: root/recipes/lowpan-tools/lowpan-tools.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/lowpan-tools/lowpan-tools.inc')
-rw-r--r--recipes/lowpan-tools/lowpan-tools.inc20
1 files changed, 20 insertions, 0 deletions
diff --git a/recipes/lowpan-tools/lowpan-tools.inc b/recipes/lowpan-tools/lowpan-tools.inc
new file mode 100644
index 0000000000..6afcc9c7b4
--- /dev/null
+++ b/recipes/lowpan-tools/lowpan-tools.inc
@@ -0,0 +1,20 @@
+DESCRIPTION = "LoWPAN utilities (IEEE802.15.4)"
+LICENSE = "GPLv2"
+DEPENDS = "libnl bison-native flex-native python-native"
+INC_PR = "r11"
+
+SRC_URI = "http://prdownloads.sourceforge.net/linux-zigbee/linux-zigbee-sources/${PV}/lowpan-tools-${PV}.tar.gz"
+
+PACKAGES += "${PN}-tests-dbg"
+PACKAGES += "${PN}-tests"
+FILES_${PN} = "${sbindir}/iz ${sbindir}/izconfig \
+ ${bindir}/izchat ${bindir}/izlisten ${sbindir}/izcoordinator \
+ ${sbindir}/izattach ${libdir}/ip/link_wpan.so"
+FILES_${PN}-dbg += "${libdir}/ip/.debug/link_wpan.so"
+FILES_${PN}-tests = "${libexecdir}/lowpan-tools ${PYTHON_SITEPACKAGES_DIR}"
+FILES_${PN}-tests-dbg = "${libexecdir}/lowpan-tools/.debug"
+RDEPENDS_${PN}-tests += "${PN} python-core"
+
+EXTRA_OECONF = "--disable-manpages"
+
+inherit autotools_stage python-dir