diff options
Diffstat (limited to 'meta/recipes-connectivity/libpcap/libpcap_1.6.2.bb')
-rw-r--r-- | meta/recipes-connectivity/libpcap/libpcap_1.6.2.bb | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/libpcap/libpcap_1.6.2.bb b/meta/recipes-connectivity/libpcap/libpcap_1.6.2.bb new file mode 100644 index 0000000000..a2d5ef46d7 --- /dev/null +++ b/meta/recipes-connectivity/libpcap/libpcap_1.6.2.bb | |||
@@ -0,0 +1,22 @@ | |||
1 | require libpcap.inc | ||
2 | |||
3 | SRC_URI += "file://aclocal.patch" | ||
4 | SRC_URI[md5sum] = "5f14191c1a684a75532c739c2c4059fa" | ||
5 | SRC_URI[sha256sum] = "5db3e2998f1eeba2c76da55da5d474248fe19c44f49e15cac8a796a2c7e19690" | ||
6 | |||
7 | # | ||
8 | # make install doesn't cover the shared lib | ||
9 | # make install-shared is just broken (no symlinks) | ||
10 | # | ||
11 | |||
12 | do_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 | |||
17 | do_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 | } | ||