diff options
author | Koen Kooi <koen@openembedded.org> | 2010-03-28 15:27:31 +0200 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2010-03-28 15:30:22 +0200 |
commit | d49f7d36520343a0afd73f2135a3e97ab4ea5b43 (patch) | |
tree | a016a1175515a99b8923305e6e5f6ec36e9c48be | |
parent | ed591aa9f472ce3f2c5c4e26665f10a2d4ecd5be (diff) |
libpcap: convert to new style staging
-rw-r--r-- | 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 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 } |