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>
This commit is contained in:
Jan Luebbe 2011-11-16 23:05:30 +01:00 committed by Holger Hans Peter Freyther
parent 06072024be
commit e94c542d7c
2 changed files with 4 additions and 2 deletions

View File

@ -10,9 +10,11 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=1d4b0366557951c84a94fabe3529f867 \
file://pcap.h;beginline=1;endline=34;md5=8d6cf7e17d5745010d633e30bc529ea9"
DEPENDS = "flex-native bison-native"
INC_PR = "r1"
SRC_URI = "http://www.tcpdump.org/release/libpcap-${PV}.tar.gz"
inherit autotools
inherit autotools binconfig
EXTRA_OECONF = "--with-pcap=linux"

View File

@ -1,6 +1,6 @@
require libpcap.inc
PR = "r0"
PR = "${INC_PR}.0"
SRC_URI += "file://aclocal.patch \
file://ieee80215-arphrd.patch"