From a63674aba43c558f6367d05238e813c8b2a65b84 Mon Sep 17 00:00:00 2001 From: Michael Lauer Date: Mon, 26 Jul 2004 19:56:14 +0000 Subject: try to get libnet working and fail miserably. needs patch for newer kernel headers BKrev: 410561deg-53hVimgnE6rTM-b9yDCg --- libnet/nonworking/libnet/configure.patch | 0 libnet/nonworking/libnet/libnet_1.1.2.1.oe | 0 nonworking/libnet/libnet-0.10.11/compile.patch | 0 nonworking/libnet/libnet-1.1.1/configure.patch | 0 nonworking/libnet/libnet_0.10.11.oe | 30 -------------------------- nonworking/libnet/libnet_1.1.1.oe | 17 --------------- 6 files changed, 47 deletions(-) create mode 100644 libnet/nonworking/libnet/configure.patch create mode 100644 libnet/nonworking/libnet/libnet_1.1.2.1.oe delete mode 100644 nonworking/libnet/libnet-0.10.11/compile.patch delete mode 100644 nonworking/libnet/libnet-1.1.1/configure.patch delete mode 100644 nonworking/libnet/libnet_0.10.11.oe delete mode 100644 nonworking/libnet/libnet_1.1.1.oe diff --git a/libnet/nonworking/libnet/configure.patch b/libnet/nonworking/libnet/configure.patch new file mode 100644 index 0000000000..e69de29bb2 diff --git a/libnet/nonworking/libnet/libnet_1.1.2.1.oe b/libnet/nonworking/libnet/libnet_1.1.2.1.oe new file mode 100644 index 0000000000..e69de29bb2 diff --git a/nonworking/libnet/libnet-0.10.11/compile.patch b/nonworking/libnet/libnet-0.10.11/compile.patch deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/nonworking/libnet/libnet-1.1.1/configure.patch b/nonworking/libnet/libnet-1.1.1/configure.patch deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/nonworking/libnet/libnet_0.10.11.oe b/nonworking/libnet/libnet_0.10.11.oe deleted file mode 100644 index 15c3e20152..0000000000 --- a/nonworking/libnet/libnet_0.10.11.oe +++ /dev/null @@ -1,30 +0,0 @@ -SRC_URI := ${SOURCEFORGE_MIRROR}/libnet/libnet-0.10.11.tar.gz \ - file://${FILESDIR}/compile.patch;patch=1 -S := ${WORKDIR}/${PN} - -do_configure () { - if [ -e makfiles/${TARGET_OS}.mak ]; then - cp makfiles/${TARGET_OS}.mak port.mak - else - die "Unable to locate default .make file for OS ${TARGET_OS}" - fi -} - -CFLAGS_prepend='-I${S}/include ' -EXTRA_OEMAKE= -do_compile () { - oe_runmake 'CC=${CC}' 'LD=${LD}' 'AR=${AR}' 'CXX=${CXX}' \ - 'WARNING_FLAGS=${CFLAGS}' -} - -do_stage () { - install -d ${STAGING_LIBDIR} ${STAGING_DIR}/target/include - install -m 0755 lib/libnet.a ${STAGING_LIBDIR}/ - install -m 0644 include/libnet.h ${STAGING_DIR}/target/include/ -} - -do_install () { - install -d ${D}/${libdir} ${D}/${includedir} - install -m 0755 lib/libnet.a ${D}/${libdir}/ - install -m 0644 include/libnet.h ${D}/${includedir}/ -} diff --git a/nonworking/libnet/libnet_1.1.1.oe b/nonworking/libnet/libnet_1.1.1.oe deleted file mode 100644 index 19e24378f7..0000000000 --- a/nonworking/libnet/libnet_1.1.1.oe +++ /dev/null @@ -1,17 +0,0 @@ -SRC_URI := http://www.packetfactory.net/libnet/dist/libnet.tar.gz \ - file://${FILESDIR}/configure.patch;patch=1 -S := ${WORKDIR}/libnet - -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