summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/libpcap/libpcap_1.4.0.bb
diff options
context:
space:
mode:
authorCristian Iorga <cristian.iorga@intel.com>2013-06-05 18:09:07 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-06-07 16:48:29 +0100
commit03fdd2c26ca90334f8a11cee3b35adf76d88caa1 (patch)
tree3f9e66088599d98d7fedc7e3b88a796351fc8ee6 /meta/recipes-connectivity/libpcap/libpcap_1.4.0.bb
parentd3e982a6c49e1df631b6326710b216f23dca221c (diff)
downloadpoky-03fdd2c26ca90334f8a11cee3b35adf76d88caa1.tar.gz
libpcap: upgrade to 1.4.0
0001-Fix-disable-canusb.patch, 0001-The-leading-comma-looked-weird-remove-it.patch, 0001-canusb-needs-lpthread.patch patches included in upstream, no longer needed. (From OE-Core rev: 329e73e56b227c5c9fb00e2201fdf1099607b473) Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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}