[oe-commits] Koen Kooi : libpcap: convert to new style staging
git version control
git at git.openembedded.org
Sun Mar 28 13:33:22 UTC 2010
Module: openembedded.git
Branch: org.openembedded.dev
Commit: d49f7d36520343a0afd73f2135a3e97ab4ea5b43
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=d49f7d36520343a0afd73f2135a3e97ab4ea5b43
Author: Koen Kooi <koen at openembedded.org>
Date: Sun Mar 28 15:27:31 2010 +0200
libpcap: convert to new style staging
---
recipes/libpcap/libpcap.inc | 14 +++++---------
1 files changed, 5 insertions(+), 9 deletions(-)
diff --git a/recipes/libpcap/libpcap.inc b/recipes/libpcap/libpcap.inc
index 4468a4b..c075bbf 100644
--- a/recipes/libpcap/libpcap.inc
+++ b/recipes/libpcap/libpcap.inc
@@ -4,7 +4,7 @@ SECTION = "libs/network"
LICENSE = "BSD"
DEPENDS = "bluez-libs flex-native bison-native"
-PR = "r1"
+PR = "r2"
# Don't forget to edit shared.patch to have the correct version number inside
SRC_URI = "http://www.tcpdump.org/release/libpcap-${PV}.tar.gz \
@@ -24,12 +24,8 @@ do_configure_prepend () {
fi
}
-do_stage () {
- install -m 0644 pcap.h ${STAGING_INCDIR}/pcap.h
- install -m 0644 pcap-namedb.h ${STAGING_INCDIR}/pcap-namedb.h
- install -m 0644 pcap-bpf.h ${STAGING_INCDIR}/pcap-bpf.h
- oe_libinstall -a -so libpcap ${STAGING_LIBDIR}
- install -d ${STAGING_INCDIR}/net
- ln -sf ${STAGING_INCDIR}/pcap-bpf.h ${STAGING_INCDIR}/net/bpf.h
- install -m 0644 acinclude.m4 ${STAGING_DATADIR}/aclocal/libpcap.m4
+do_install_append () {
+ install -d ${D}${includedir}/net
+ ln -sf ../pcap-bpf.h ${D}${includedir}/net/bpf.h
+ install -m 0644 acinclude.m4 ${D}${datadir}/aclocal/libpcap.m4
}
More information about the Openembedded-commits
mailing list