diff options
author | Cristian Iorga <cristian.iorga@intel.com> | 2013-12-16 17:15:57 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-12-18 11:21:26 +0000 |
commit | 62849984b5a92f08438ca3b770dae122285e6ca8 (patch) | |
tree | 3d779f9f78a435e9d95d5e94982b604c89e1474a /meta/recipes-connectivity/libpcap/libpcap_1.5.2.bb | |
parent | 4ed07c5e9b534324245e8bdf9b3880899c9a1cfe (diff) | |
download | poky-62849984b5a92f08438ca3b770dae122285e6ca8.tar.gz |
libpcap: upgrade to 1.5.2
aclocal.patch was updated, still needed.
(From OE-Core rev: 89f9d07d8e291c994469d015d39ef90fb39a4ec4)
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.5.2.bb')
-rw-r--r-- | meta/recipes-connectivity/libpcap/libpcap_1.5.2.bb | 27 |
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 @@ | |||
1 | require libpcap.inc | ||
2 | |||
3 | PR = "${INC_PR}.0" | ||
4 | |||
5 | SRC_URI += "file://aclocal.patch \ | ||
6 | file://ieee80215-arphrd.patch \ | ||
7 | " | ||
8 | |||
9 | SRC_URI[md5sum] = "33ba2f10f3a402cb5d34f5e2a904794a" | ||
10 | SRC_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 | |||
17 | do_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 | |||
22 | do_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 | } | ||