mirror of
https://git.yoctoproject.org/poky
synced 2026-07-27 19:37:10 +00:00
dd24fbfb47
- Option --enable-canusb was removed on commit:
https://github.com/the-tcpdump-group/libpcap/commit/93ca5ff7030aaf1219e1de05ec89a68384bfc50b
- Autotools class was improved and we can now stop aclocal from running at all.
- File configure.in was renamed to configure.ac, rework libpcap-pkgconfig-support
patch and do_configure_prepend task to use configure.ac file.
(From OE-Core rev: 62771b5a426e4b7d38e4997dc3f252a547f481ce)
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
28 lines
781 B
BlitzBasic
28 lines
781 B
BlitzBasic
require libpcap.inc
|
|
|
|
SRC_URI += " \
|
|
file://libpcap-pkgconfig-support.patch \
|
|
"
|
|
|
|
SRC_URI[md5sum] = "3d48f9cd171ff12b0efd9134b52f1447"
|
|
SRC_URI[sha256sum] = "673dbc69fdc3f5a86fb5759ab19899039a8e5e6c631749e48dcd9c6f0c83541e"
|
|
|
|
#
|
|
# make install doesn't cover the shared lib
|
|
# make install-shared is just broken (no symlinks)
|
|
#
|
|
|
|
do_configure_prepend () {
|
|
#remove hardcoded references to /usr/include
|
|
sed 's|\([ "^'\''I]\+\)/usr/include/|\1${STAGING_INCDIR}/|g' -i ${S}/configure.ac
|
|
}
|
|
|
|
do_install_prepend () {
|
|
install -d ${D}${libdir}
|
|
install -d ${D}${bindir}
|
|
oe_runmake install-shared DESTDIR=${D}
|
|
oe_libinstall -a -so libpcap ${D}${libdir}
|
|
sed "s|@VERSION@|${PV}|" -i ${B}/libpcap.pc
|
|
install -D -m 0644 libpcap.pc ${D}${libdir}/pkgconfig/libpcap.pc
|
|
}
|