4 SRC_URI
= "http://www.tcpdump.org/release/libpcap-${PV}.tar.gz"
5 SRC_URI
+= "file://aclocal.patch;patch=1"
6 SRC_URI
+= "file://ieee80215-arphrd.patch;patch=1"
7 SRC_URI
+= "file://ldflags.patch;patch=1"
8 SRC_URI
+= "file://0001-Fix-some-problems-that-show-up-in-autoconf-2.64-and-.patch;patch=1"
10 do_configure_prepend
() {
11 cat $
{S
}/aclocal.m4
>>$
{S
}/acinclude.m4
21 install
-d $
{D
}$
{libdir
}
22 install
-d $
{D
}$
{bindir
}
23 oe_runmake install DESTDIR
=$
{D
}
24 oe_runmake install
-shared DESTDIR
=$
{D
}
25 oe_libinstall
-a
-so libpcap $
{D
}$
{libdir
}
27 install
-d $
{D
}$
{includedir
}/pcap
28 install
-m
0644 pcap
/pcap.h $
{D
}$
{includedir
}/pcap
/pcap.h
29 install
-m
0644 pcap
/namedb.h $
{D
}$
{includedir
}/pcap
/namedb.h
30 install
-m
0644 pcap
/bpf.h $
{D
}$
{includedir
}/pcap
/bpf.h
35 SRC_URI
[md5sum
] = "9ad1358c5dec48456405eac197a46d3d"
36 SRC_URI
[sha256sum
] = "a214c4e1d7e22a758f66fe1d08f0ce41c3ba801a4c13dd1188e1e38288ac73c0"