summaryrefslogtreecommitdiff
path: root/libnet/libnet_1.0.2a.oe
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2003-10-21 22:16:26 +0000
committerChris Larson <clarson@kergoth.com>2003-10-21 22:16:26 +0000
commit64f88cf7f3cf30fb9e119b14ad1394574ba286d9 (patch)
tree91383592ec81db1be78beeaca982c7adf15e14c9 /libnet/libnet_1.0.2a.oe
parent23a25a05f2cdb743800803084e086157699177a0 (diff)
Correct program-prefix for fakeroot and ncurses, and add a necessary define for libnet 1.0.2.
BKrev: 3f95b03a4rV7MGroVqGzGUMry2Rxxg
Diffstat (limited to 'libnet/libnet_1.0.2a.oe')
-rw-r--r--libnet/libnet_1.0.2a.oe22
1 files changed, 22 insertions, 0 deletions
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}/
+}