From 0d5818ea8ecb9739f1804cdc6011c87d3c432d0f Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Mon, 16 Nov 2009 22:49:39 +0000 Subject: pcap: Drop custom staging function and use autotool_stage_all. Some hopefully legacy leftovers remain commented Signed-off-by: Richard Purdie --- meta/packages/libpcap/libpcap_0.9.3.bb | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'meta/packages') diff --git a/meta/packages/libpcap/libpcap_0.9.3.bb b/meta/packages/libpcap/libpcap_0.9.3.bb index eeeb88e49..cf0241a66 100644 --- a/meta/packages/libpcap/libpcap_0.9.3.bb +++ b/meta/packages/libpcap/libpcap_0.9.3.bb @@ -7,7 +7,7 @@ PR = "r1" SRC_URI = "http://www.at.tcpdump.org/release/libpcap-${PV}.tar.gz \ file://shared.patch;patch=1" -inherit autotools +inherit autotools_stage EXTRA_OECONF = "--with-pcap=linux" @@ -21,12 +21,12 @@ 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 -} +# Does anything really need these things? +#do_stage () { +# autotools_stage_all +# +# 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 +#} -- cgit v1.2.3