From e929824ec847483d53873442dc08c543c9ae2a07 Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Thu, 6 Nov 2003 23:36:55 +0000 Subject: Add dsniff, add some static lib builds alongside the shared, generate the rpcsvc headers in glibc, and thereby fix the dsniff build. BKrev: 3faadb17GD8DyutGwY6Zd8acsexYJQ --- libnet/libnet_1.0.2a.oe | 1 + libnet/libnet_1.1.0.oe | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+) (limited to 'libnet') diff --git a/libnet/libnet_1.0.2a.oe b/libnet/libnet_1.0.2a.oe index 055224a73b..6caee56345 100644 --- a/libnet/libnet_1.0.2a.oe +++ b/libnet/libnet_1.0.2a.oe @@ -10,6 +10,7 @@ inherit autotools CPPFLAGS_prepend = "-I${S}/libnet/include -DHAVE_PF_PACKET " do_stage () { + install -m 0755 libnet-config ${STAGING_BINDIR}/ 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/ diff --git a/libnet/libnet_1.1.0.oe b/libnet/libnet_1.1.0.oe index e69de29bb2..af6bea963e 100644 --- a/libnet/libnet_1.1.0.oe +++ b/libnet/libnet_1.1.0.oe @@ -0,0 +1,20 @@ +DEPENDS = virtual/libc +RDEPENDS = libc6 + +SRC_URI := http://www.packetfactory.net/libnet/dist/libnet.tar.gz \ + file://${FILESDIR}/configure.patch;patch=1 +S := ${WORKDIR}/Libnet-latest + +inherit autotools + +CPPFLAGS_prepend = "-I${S}/libnet/include " + +do_stage () { + install -m 0755 libnet-config ${STAGING_BINDIR}/ + oe_runmake -C src 'DESTDIR=${STAGING_DIR}/target' \ + 'libdir=/lib' install-libLIBRARIES + oe_runmake -C include 'DESTDIR=${STAGING_DIR}/target' \ + 'includedir=/include' install-includeHEADERS + oe_runmake -C include/libnet 'DESTDIR=${STAGING_DIR}/target' \ + 'includedir=/include' install-libnetincludeHEADERS +} -- cgit v1.2.3