diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-09-01 19:09:11 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-09-01 19:09:57 +0100 |
commit | d62ee7eaf2ba025c3f64b2d4e10dc7cec4637612 (patch) | |
tree | f36fe3008f36ff75cbdd31b630f8f13f1f205ebb /meta/recipes-connectivity/libpcap/libpcap.inc | |
parent | caab7fc509bf27706ff3248689f6afd04225cfda (diff) | |
download | poky-d62ee7eaf2ba025c3f64b2d4e10dc7cec4637612.tar.gz |
packages: Separate out most of the remaining packages into recipes
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/recipes-connectivity/libpcap/libpcap.inc')
-rw-r--r-- | meta/recipes-connectivity/libpcap/libpcap.inc | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/libpcap/libpcap.inc b/meta/recipes-connectivity/libpcap/libpcap.inc new file mode 100644 index 0000000000..2025d84c0d --- /dev/null +++ b/meta/recipes-connectivity/libpcap/libpcap.inc | |||
@@ -0,0 +1,24 @@ | |||
1 | DESCRIPTION = "Libpcap is a tool to capture network packages on Unix/Linux platform" | ||
2 | HOMEPAGE = "http://www.tcpdump.org/" | ||
3 | BUGTRACKER = "http://sourceforge.net/tracker/?group_id=53067&atid=469577" | ||
4 | SECTION = "libs/network" | ||
5 | LICENSE = "BSD" | ||
6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=1d4b0366557951c84a94fabe3529f867 \ | ||
7 | file://pcap.h;beginline=1;endline=34;md5=8d6cf7e17d5745010d633e30bc529ea9" | ||
8 | DEPENDS = "flex-native bison-native" | ||
9 | |||
10 | SRC_URI = "http://www.tcpdump.org/release/libpcap-${PV}.tar.gz" | ||
11 | |||
12 | inherit autotools | ||
13 | |||
14 | EXTRA_OECONF = "--with-pcap=linux" | ||
15 | |||
16 | CPPFLAGS_prepend = "-I${S} " | ||
17 | CFLAGS_prepend = "-I${S} " | ||
18 | CXXFLAGS_prepend = "-I${S} " | ||
19 | |||
20 | do_configure_prepend () { | ||
21 | if [ ! -e acinclude.m4 ]; then | ||
22 | cat aclocal.m4 > acinclude.m4 | ||
23 | fi | ||
24 | } | ||