summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/libpcap
diff options
context:
space:
mode:
authorJan Luebbe <jluebbe@debian.org>2011-11-16 22:05:30 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-11-18 10:47:11 (GMT)
commit28b0c29594f5548379ccb514dff364dd758284fa (patch)
tree99b5ee6c499fea08f828ff6e84f786896aafc3d1 /meta/recipes-connectivity/libpcap
parent3148a6192ef9d54c1eded7100238a3fa6b4c750d (diff)
downloadpoky-28b0c29594f5548379ccb514dff364dd758284fa.tar.gz
libpcap: use binconfig class to deploy pcap-config
This fixes building of tcpdump on hosts where libpcap-dev is installed. Also introduce INC_PR. (From OE-Core rev: 942cdda2194078755a11efef3ba3f502f72e4f5e) Signed-off-by: Jan Luebbe <jluebbe@debian.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/libpcap')
-rw-r--r--meta/recipes-connectivity/libpcap/libpcap.inc4
-rw-r--r--meta/recipes-connectivity/libpcap/libpcap_1.1.1.bb2
2 files changed, 4 insertions, 2 deletions
diff --git a/meta/recipes-connectivity/libpcap/libpcap.inc b/meta/recipes-connectivity/libpcap/libpcap.inc
index 2737dbe..84001e5 100644
--- a/meta/recipes-connectivity/libpcap/libpcap.inc
+++ b/meta/recipes-connectivity/libpcap/libpcap.inc
@@ -10,9 +10,11 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=1d4b0366557951c84a94fabe3529f867 \
10 file://pcap.h;beginline=1;endline=34;md5=8d6cf7e17d5745010d633e30bc529ea9" 10 file://pcap.h;beginline=1;endline=34;md5=8d6cf7e17d5745010d633e30bc529ea9"
11DEPENDS = "flex-native bison-native" 11DEPENDS = "flex-native bison-native"
12 12
13INC_PR = "r1"
14
13SRC_URI = "http://www.tcpdump.org/release/libpcap-${PV}.tar.gz" 15SRC_URI = "http://www.tcpdump.org/release/libpcap-${PV}.tar.gz"
14 16
15inherit autotools 17inherit autotools binconfig
16 18
17EXTRA_OECONF = "--with-pcap=linux" 19EXTRA_OECONF = "--with-pcap=linux"
18 20
diff --git a/meta/recipes-connectivity/libpcap/libpcap_1.1.1.bb b/meta/recipes-connectivity/libpcap/libpcap_1.1.1.bb
index de04290..2700bb7 100644
--- a/meta/recipes-connectivity/libpcap/libpcap_1.1.1.bb
+++ b/meta/recipes-connectivity/libpcap/libpcap_1.1.1.bb
@@ -1,6 +1,6 @@
1require libpcap.inc 1require libpcap.inc
2 2
3PR = "r0" 3PR = "${INC_PR}.0"
4 4
5SRC_URI += "file://aclocal.patch \ 5SRC_URI += "file://aclocal.patch \
6 file://ieee80215-arphrd.patch" 6 file://ieee80215-arphrd.patch"