summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/lowpan-tools
diff options
context:
space:
mode:
authorTudor Florea <tudor.florea@enea.com>2014-10-10 03:20:04 +0200
committerTudor Florea <tudor.florea@enea.com>2014-10-10 03:20:04 +0200
commit1b8dfe266937a37a4c642f96ceb2347bf4c00a17 (patch)
tree0c6aab146bb3c82efd9c7846a9a4e70dcb0ec84f /meta-networking/recipes-support/lowpan-tools
downloadmeta-openembedded-daisy-140929.tar.gz
initial commit for Enea Linux 4.0-140929daisy-140929
Migrated from the internal git server on the daisy-enea-point-release branch Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta-networking/recipes-support/lowpan-tools')
-rw-r--r--meta-networking/recipes-support/lowpan-tools/lowpan-tools/no-help2man.patch41
-rw-r--r--meta-networking/recipes-support/lowpan-tools/lowpan-tools_git.bb28
2 files changed, 69 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/lowpan-tools/lowpan-tools/no-help2man.patch b/meta-networking/recipes-support/lowpan-tools/lowpan-tools/no-help2man.patch
new file mode 100644
index 0000000000..9ecd707b41
--- /dev/null
+++ b/meta-networking/recipes-support/lowpan-tools/lowpan-tools/no-help2man.patch
@@ -0,0 +1,41 @@
1Disable building manpages so that make install doesn't fail due to lack of help2man
2
3Upstream-Status: Inappropriate [config]
4
5Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
6
7diff --git a/src/Makefile.am b/src/Makefile.am
8index 46c4017..d6ed312 100644
9--- a/src/Makefile.am
10+++ b/src/Makefile.am
11@@ -9,11 +9,6 @@ izcoordinator_DESC = "simple coordinator for IEEE 802.15.4 network"
12 iz_DESC = "configure an IEEE 802.15.4 interface"
13 izchat_DESC = "simple chat program using IEEE 802.15.4"
14
15-if MANPAGES
16-dist_man_MANS = $(manpages)
17-endif
18-EXTRA_DIST = $(manpages)
19-
20 izattach_SOURCES = serial.c
21
22 iz_SOURCES = iz.c iz-common.c iz-mac.c iz-phy.c
23@@ -27,18 +22,6 @@ izcoordinator_LDADD = ../addrdb/libaddrdb.la $(LDADD) $(NL_LIBS) $(LEXLIB)
24 iz_CFLAGS = $(AM_CFLAGS) $(NL_CFLAGS) -D_GNU_SOURCE
25 iz_LDADD = $(LDADD) $(NL_LIBS)
26
27-izattach.8: $(izattach_SOURCES) $(top_srcdir)/configure.ac
28- -$(HELP2MAN) -o $@ -s 8 -N -n $(izattach_DESC) $(builddir)/izattach
29-
30-izcoordinator.8: $(izcoordinator_SOURCES) $(top_srcdir)/configure.ac
31- -$(HELP2MAN) -o $@ -s 8 -N -n $(izcoordinator_DESC) $(builddir)/izcoordinator
32-
33-iz.8: $(iz_SOURCES) $(top_srcdir)/configure.ac
34- -$(HELP2MAN) -o $@ -s 8 -N -n $(iz_DESC) $(builddir)/iz
35-
36-izchat.1: $(izchat_SOURCES) $(top_srcdir)/configure.ac
37- -$(HELP2MAN) -o $@ -s 1 -N -n $(izchat_DESC) $(builddir)/izchat
38-
39 install-data-hook:
40 $(mkinstalldirs) $(DESTDIR)`dirname $(leasefile)`
41 $(mkinstalldirs) $(DESTDIR)`dirname $(pidfile)`
diff --git a/meta-networking/recipes-support/lowpan-tools/lowpan-tools_git.bb b/meta-networking/recipes-support/lowpan-tools/lowpan-tools_git.bb
new file mode 100644
index 0000000000..5fc0de3151
--- /dev/null
+++ b/meta-networking/recipes-support/lowpan-tools/lowpan-tools_git.bb
@@ -0,0 +1,28 @@
1SUMMARY = "Utilities for managing the Linux LoWPAN stack"
2DESCRIPTION = "This is a set of utils to manage the Linux LoWPAN stack. \
3The LoWPAN stack aims for IEEE 802.15.4-2003 (and for lesser extent IEEE 802.15.4-2006) compatibility."
4
5LICENSE = "GPLv2"
6LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
7
8DEPENDS = "libnl python"
9
10PV = "0.3+git${SRCPV}"
11SRC_URI = "git://linux-zigbee.git.sourceforge.net/gitroot/linux-zigbee/linux-zigbee \
12 file://no-help2man.patch"
13SRCREV = "a1d9615adde6d1a568813c24a128273ed755af04"
14
15S = "${WORKDIR}/git"
16
17inherit autotools python-dir
18
19CACHED_CONFIGUREVARS += "am_cv_python_pythondir=${PYTHON_SITEPACKAGES_DIR}/lowpan-tools"
20
21do_install_append() {
22 rmdir ${D}${localstatedir}/run
23}
24
25FILES_${PN}-dbg += "${libexecdir}/lowpan-tools/.debug/"
26
27PACKAGES =+ "${PN}-python"
28FILES_${PN}-python = "${libdir}/python*"