summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/libpcap/libpcap_1.5.3.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-connectivity/libpcap/libpcap_1.5.3.bb')
-rw-r--r--meta/recipes-connectivity/libpcap/libpcap_1.5.3.bb24
1 files changed, 24 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/libpcap/libpcap_1.5.3.bb b/meta/recipes-connectivity/libpcap/libpcap_1.5.3.bb
new file mode 100644
index 0000000..3ba3caa
--- /dev/null
+++ b/meta/recipes-connectivity/libpcap/libpcap_1.5.3.bb
@@ -0,0 +1,24 @@
1require libpcap.inc
2
3SRC_URI += "file://aclocal.patch \
4 file://ieee80215-arphrd.patch \
5 "
6SRC_URI[md5sum] = "7e7321fb3aff2f2bb05c8229f3795d4a"
7SRC_URI[sha256sum] = "9ae92159c1060f15e6a90f2c4ad227268b6aaa382c316fa49a31c496b9979e93"
8
9#
10# make install doesn't cover the shared lib
11# make install-shared is just broken (no symlinks)
12#
13
14do_configure_prepend () {
15 #remove hardcoded references to /usr/include
16 sed 's|\([ "^'\''I]\+\)/usr/include/|\1${STAGING_INCDIR}/|g' -i ${S}/configure.in
17}
18
19do_install_prepend () {
20 install -d ${D}${libdir}
21 install -d ${D}${bindir}
22 oe_runmake install-shared DESTDIR=${D}
23 oe_libinstall -a -so libpcap ${D}${libdir}
24}