bluez: Add 4.62 and update include to support new style checksums for the archive.
[openembedded.git] / recipes / libpcap / libpcap.inc
1 DESCRIPTION = "Network Packet Capture Library"
2 HOMEPAGE = "http://www.tcpdump.org/"
3 SECTION = "libs/network"
4 LICENSE = "BSD"
5 DEPENDS = "bluez-libs flex-native bison-native"
6
7 PR = "r3"
8
9 # Don't forget to edit shared.patch to have the correct version number inside
10 SRC_URI = "http://www.tcpdump.org/release/libpcap-${PV}.tar.gz \
11            file://shared.patch;patch=1"
12
13 inherit autotools
14
15 EXTRA_OECONF = "--with-pcap=linux"
16
17 CPPFLAGS_prepend = "-I${S} "
18 CFLAGS_prepend = "-I${S} "
19 CXXFLAGS_prepend = "-I${S} "
20
21 do_configure_prepend () {
22         if [ ! -e acinclude.m4 ]; then
23                 cat aclocal.m4 > acinclude.m4
24         fi
25 }
26
27 do_install_append () {
28         install -d ${D}${includedir}/net
29         install -d ${D}${datadir}/aclocal
30         ln -sf ../pcap-bpf.h ${D}${includedir}/net/bpf.h
31         install -m 0644 acinclude.m4 ${D}${datadir}/aclocal/libpcap.m4
32 }