aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Oberritter <obi@opendreambox.org>2012-05-23 15:37:54 +0200
committerAndreas Oberritter <obi@opendreambox.org>2012-05-23 15:47:49 +0200
commita76e135e1be5a587fe38e24b6d60bdb1bace87d9 (patch)
tree97c9fe85fafdcdcef92d3df6b138eff87d63cfc3
parent06618326cf5a3044ec5ffe8d225c8e67b1757c79 (diff)
downloadopenembedded-core-contrib-a76e135e1be5a587fe38e24b6d60bdb1bace87d9.tar.gz
libpcap: move pcap-config to ${PN}-dev, fix description, add --without-libnl
* pcap-config was packaged into ${PN} * pcap linked against libnl if it was build before libpcap without being listed in DEPENDS. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
-rw-r--r--meta/recipes-connectivity/libpcap/libpcap.inc11
1 files changed, 8 insertions, 3 deletions
diff --git a/meta/recipes-connectivity/libpcap/libpcap.inc b/meta/recipes-connectivity/libpcap/libpcap.inc
index 6051bbc474..82459367ff 100644
--- a/meta/recipes-connectivity/libpcap/libpcap.inc
+++ b/meta/recipes-connectivity/libpcap/libpcap.inc
@@ -1,5 +1,5 @@
SUMMARY = "Interface for user-level network packet capture"
-DESCRIPT = "Libpcap provides a portable framework for low-level network \
+DESCRIPTION = "Libpcap provides a portable framework for low-level network \
monitoring. Libpcap can provide network statistics collection, \
security monitoring and network debugging."
HOMEPAGE = "http://www.tcpdump.org/"
@@ -10,13 +10,13 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=1d4b0366557951c84a94fabe3529f867 \
file://pcap.h;beginline=1;endline=34;md5=8d6cf7e17d5745010d633e30bc529ea9"
DEPENDS = "flex-native bison-native"
-INC_PR = "r0"
+INC_PR = "r1"
SRC_URI = "http://www.tcpdump.org/release/libpcap-${PV}.tar.gz"
inherit autotools binconfig
-EXTRA_OECONF = "--with-pcap=linux"
+EXTRA_OECONF = "--with-pcap=linux --without-libnl"
CPPFLAGS_prepend = "-I${S} "
CFLAGS_prepend = "-I${S} "
@@ -27,3 +27,8 @@ do_configure_prepend () {
cat aclocal.m4 > acinclude.m4
fi
}
+
+# hack to move ${PN}-dev before ${PN}
+PACKAGES = "${PN}-dbg ${PN}-staticdev ${PN}-dev ${PN} ${PN}-doc ${PN}-locale"
+
+FILES_${PN}-dev += "${bindir}/pcap-config"