diff options
author | Maxin B. John <maxin.john@intel.com> | 2015-11-18 11:34:36 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-12-01 21:32:07 +0000 |
commit | 2f479b12fac9335ba7e6281408f53e5e1bbc1e95 (patch) | |
tree | a4d9308d4332bafd31cba2133249eee7070d484a /meta/recipes-connectivity/libpcap/libpcap_1.7.4.bb | |
parent | bd4058f8514f2dae7d22f85cca81a64a4bea3689 (diff) | |
download | poky-2f479b12fac9335ba7e6281408f53e5e1bbc1e95.tar.gz |
libpcap: update to 1.7.4
Update libpcap from version 1.6.2 to 1.7.4
LICENSE checksum has changed because of the removal of additional
spaces in the file.
(From OE-Core rev: 0256743e7ad6e430aa2380ce51c84b3ce5928a1f)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/libpcap/libpcap_1.7.4.bb')
-rw-r--r-- | meta/recipes-connectivity/libpcap/libpcap_1.7.4.bb | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/libpcap/libpcap_1.7.4.bb b/meta/recipes-connectivity/libpcap/libpcap_1.7.4.bb new file mode 100644 index 0000000000..8d12b25213 --- /dev/null +++ b/meta/recipes-connectivity/libpcap/libpcap_1.7.4.bb | |||
@@ -0,0 +1,26 @@ | |||
1 | require libpcap.inc | ||
2 | |||
3 | SRC_URI += "file://aclocal.patch \ | ||
4 | file://libpcap-pkgconfig-support.patch \ | ||
5 | " | ||
6 | SRC_URI[md5sum] = "b2e13142bbaba857ab1c6894aedaf547" | ||
7 | SRC_URI[sha256sum] = "7ad3112187e88328b85e46dce7a9b949632af18ee74d97ffc3f2b41fe7f448b0" | ||
8 | |||
9 | # | ||
10 | # make install doesn't cover the shared lib | ||
11 | # make install-shared is just broken (no symlinks) | ||
12 | # | ||
13 | |||
14 | do_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 | |||
19 | do_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 | sed "s|@VERSION@|${PV}|" -i ${B}/libpcap.pc | ||
25 | install -D -m 0644 libpcap.pc ${D}${libdir}/pkgconfig/libpcap.pc | ||
26 | } | ||