summaryrefslogtreecommitdiff
path: root/libnet/libnet_1.1.0.oe
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2003-11-06 23:36:55 +0000
committerChris Larson <clarson@kergoth.com>2003-11-06 23:36:55 +0000
commite929824ec847483d53873442dc08c543c9ae2a07 (patch)
treeabea41ad2c76983b60b81ecb410707252f993277 /libnet/libnet_1.1.0.oe
parenta90d4fd56fe46e1f9719747547adbeea47ecde1e (diff)
Add dsniff, add some static lib builds alongside the shared, generate the rpcsvc headers in glibc, and thereby fix the dsniff build.
BKrev: 3faadb17GD8DyutGwY6Zd8acsexYJQ
Diffstat (limited to 'libnet/libnet_1.1.0.oe')
-rw-r--r--libnet/libnet_1.1.0.oe20
1 files changed, 20 insertions, 0 deletions
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
+}