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