From 64f88cf7f3cf30fb9e119b14ad1394574ba286d9 Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Tue, 21 Oct 2003 22:16:26 +0000 Subject: Correct program-prefix for fakeroot and ncurses, and add a necessary define for libnet 1.0.2. BKrev: 3f95b03a4rV7MGroVqGzGUMry2Rxxg --- libnet/libnet_1.0.2a.oe | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'libnet/libnet_1.0.2a.oe') diff --git a/libnet/libnet_1.0.2a.oe b/libnet/libnet_1.0.2a.oe index e69de29bb2..055224a73b 100644 --- a/libnet/libnet_1.0.2a.oe +++ b/libnet/libnet_1.0.2a.oe @@ -0,0 +1,22 @@ +DEPENDS = virtual/libc +RDEPENDS = libc6 + +SRC_URI := http://www.packetfactory.net/libnet/dist/deprecated/libnet-1.0.2a.tar.gz \ + file://${FILESDIR}/configure.patch;patch=1 +S := ${WORKDIR}/Libnet-1.0.2a + +inherit autotools + +CPPFLAGS_prepend = "-I${S}/libnet/include -DHAVE_PF_PACKET " + +do_stage () { + install -m 0644 include/libnet.h ${STAGING_DIR}/target/include/ + install -d ${STAGING_DIR}/target/include/libnet + install -m 0644 include/libnet/libnet-headers.h ${STAGING_DIR}/target/include/libnet/ + install -m 0644 include/libnet/libnet-functions.h ${STAGING_DIR}/target/include/libnet/ + install -m 0644 include/libnet/libnet-structures.h ${STAGING_DIR}/target/include/libnet/ + install -m 0644 include/libnet/libnet-macros.h ${STAGING_DIR}/target/include/libnet/ + install -m 0644 include/libnet/libnet-asn1.h ${STAGING_DIR}/target/include/libnet/ + install -m 0644 include/libnet/libnet-ospf.h ${STAGING_DIR}/target/include/libnet/ + install -m 0755 lib/libnet.a ${STAGING_LIBDIR}/ +} -- cgit v1.2.3