From: Koen Kooi Date: Sun, 28 Mar 2010 13:27:31 +0000 (+0200) Subject: libpcap: convert to new style staging X-Git-Tag: Release-2010-05/1~190 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d49f7d36520343a0afd73f2135a3e97ab4ea5b43;p=openembedded.git libpcap: convert to new style staging --- diff --git a/recipes/libpcap/libpcap.inc b/recipes/libpcap/libpcap.inc index 4468a4b89e..c075bbf363 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 }