From 2baf8bbf8b48a10853030e0d560ddd48b2b5efea Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 23 Feb 2010 15:19:41 +0000 Subject: libpcap: Update to 1.0.0 and sync with OE.dev Signed-off-by: Richard Purdie --- meta/packages/libpcap/libpcap.inc | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 meta/packages/libpcap/libpcap.inc (limited to 'meta/packages/libpcap/libpcap.inc') diff --git a/meta/packages/libpcap/libpcap.inc b/meta/packages/libpcap/libpcap.inc new file mode 100644 index 0000000000..d8f0b2561c --- /dev/null +++ b/meta/packages/libpcap/libpcap.inc @@ -0,0 +1,21 @@ +DESCRIPTION = "Network Packet Capture Library" +HOMEPAGE = "http://www.tcpdump.org/" +SECTION = "libs/network" +LICENSE = "BSD" +DEPENDS = "flex-native bison-native" + +SRC_URI = "http://www.tcpdump.org/release/libpcap-${PV}.tar.gz" + +inherit autotools + +EXTRA_OECONF = "--with-pcap=linux" + +CPPFLAGS_prepend = "-I${S} " +CFLAGS_prepend = "-I${S} " +CXXFLAGS_prepend = "-I${S} " + +do_configure_prepend () { + if [ ! -e acinclude.m4 ]; then + cat aclocal.m4 > acinclude.m4 + fi +} -- cgit v1.2.3