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