From e8052e4cb7830519eb6e06aac083f00150d8fb43 Mon Sep 17 00:00:00 2001 From: Steve Sakoman Date: Mon, 29 Mar 2010 15:00:16 -0700 Subject: libnet: convert to new staging --- recipes/libnet/libnet_1.1.2.1.bb | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'recipes/libnet') diff --git a/recipes/libnet/libnet_1.1.2.1.bb b/recipes/libnet/libnet_1.1.2.1.bb index cb7700ac93..0c71b83317 100644 --- a/recipes/libnet/libnet_1.1.2.1.bb +++ b/recipes/libnet/libnet_1.1.2.1.bb @@ -6,7 +6,7 @@ LICENSE = "BSD" DEPENDS = "libpcap" # There are major API changes beween libnet v1.0 and libnet v1.1 PROVIDES = "libnet-1.1" -PR = "r3" +PR = "r4" SRC_URI = "${DEBIAN_MIRROR}/main/libn/libnet/libnet_${PV}.orig.tar.gz \ file://support-uclibc.patch;patch=1 \ @@ -20,17 +20,16 @@ inherit autotools binconfig do_configure_prepend() { rm -f aclocal.m4 Makefile.am ltmain.sh } + do_install_append () { + oe_runmake -C src 'DESTDIR=${D}${libdir}/' 'libdir=' install-libLIBRARIES + oe_runmake -C include 'DESTDIR=${D}${includedir}/' 'includedir=' install-includeHEADERS + oe_runmake -C include/libnet 'DESTDIR=${D}${includedir}/' 'includedir=' install-libnetincludeHEADERS install -d ${D}${datadir}/man/man3/ install -d ${D}${bindir} install -m 0644 ${S}/doc/man/man3/*.3 ${D}${datadir}/man/man3/ install -m 0755 ${S}/libnet-config ${D}${bindir} } -do_stage () { - oe_runmake -C src 'DESTDIR=${STAGING_LIBDIR}' 'libdir=' install-libLIBRARIES - oe_runmake -C include 'DESTDIR=${STAGING_INCDIR}' 'includedir=' install-includeHEADERS - oe_runmake -C include/libnet 'DESTDIR=${STAGING_INCDIR}' 'includedir=' install-libnetincludeHEADERS -} #static build FILES_${PN} = "" -- cgit 1.2.3-korg