summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/libpcap/libpcap_1.5.2.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-connectivity/libpcap/libpcap_1.5.2.bb')
-rw-r--r--meta/recipes-connectivity/libpcap/libpcap_1.5.2.bb27
1 files changed, 27 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/libpcap/libpcap_1.5.2.bb b/meta/recipes-connectivity/libpcap/libpcap_1.5.2.bb
new file mode 100644
index 0000000000..37cc141c03
--- /dev/null
+++ b/meta/recipes-connectivity/libpcap/libpcap_1.5.2.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] = "33ba2f10f3a402cb5d34f5e2a904794a"
10SRC_URI[sha256sum] = "806d4ba23b126476d39a458ad1468f73dfe63c92f9586208f7e4e18c13e52ddd"
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}