diff options
author | Chris Larson <clarson@kergoth.com> | 2004-05-29 17:11:04 +0000 |
---|---|---|
committer | Chris Larson <clarson@kergoth.com> | 2004-05-29 17:11:04 +0000 |
commit | 087629f4afb009d0eceec99db1e2ae45c1cf507e (patch) | |
tree | b33e81f2007fd813d64b11c6b513e6ebdc493e7b /nonworking/libnet | |
parent | 57805d1d4e115d1901fa432d0dcb49807a38233b (diff) |
Cleanup pass - remove remnant virtual/libc items from DEPENDS.
BKrev: 40b8c428TTv4Isw4YZOO0-X8vxwV2g
Diffstat (limited to 'nonworking/libnet')
-rw-r--r-- | nonworking/libnet/libnet_0.10.11.oe | 33 | ||||
-rw-r--r-- | nonworking/libnet/libnet_1.1.1.oe | 20 |
2 files changed, 53 insertions, 0 deletions
diff --git a/nonworking/libnet/libnet_0.10.11.oe b/nonworking/libnet/libnet_0.10.11.oe index e69de29bb2..d49d076b7d 100644 --- a/nonworking/libnet/libnet_0.10.11.oe +++ b/nonworking/libnet/libnet_0.10.11.oe @@ -0,0 +1,33 @@ +DEPENDS = +RDEPENDS = libc6 + +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 index e69de29bb2..b0de681a7d 100644 --- a/nonworking/libnet/libnet_1.1.1.oe +++ b/nonworking/libnet/libnet_1.1.1.oe @@ -0,0 +1,20 @@ +DEPENDS = +RDEPENDS = libc6 + +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 +} |