summaryrefslogtreecommitdiff
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
parent23a25a05f2cdb743800803084e086157699177a0 (diff)
Correct program-prefix for fakeroot and ncurses, and add a necessary define for libnet 1.0.2.
BKrev: 3f95b03a4rV7MGroVqGzGUMry2Rxxg
-rw-r--r--fakeroot/fakeroot_0.7.8.oe6
-rw-r--r--libnet/libnet_1.0.2a.oe22
-rw-r--r--ncurses/ncurses_5.3.oe3
3 files changed, 30 insertions, 1 deletions
diff --git a/fakeroot/fakeroot_0.7.8.oe b/fakeroot/fakeroot_0.7.8.oe
index e69de29bb2..84445b18c6 100644
--- a/fakeroot/fakeroot_0.7.8.oe
+++ b/fakeroot/fakeroot_0.7.8.oe
@@ -0,0 +1,6 @@
+SRC_URI := ${DEBIAN_MIRROR}/main/f/fakeroot/${PN}_${PV}.tar.gz
+S = ${WORKDIR}/${P}
+
+inherit autotools libtool
+
+EXTRA_OECONF = --program-prefix=
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}/
+}
diff --git a/ncurses/ncurses_5.3.oe b/ncurses/ncurses_5.3.oe
index ff857f0ee0..cb67f1daa5 100644
--- a/ncurses/ncurses_5.3.oe
+++ b/ncurses/ncurses_5.3.oe
@@ -24,7 +24,8 @@ EXTRA_OECONF=--with-shared \
--enable-termcap \
--without-cxx-binding \
--with-terminfo-dirs=/etc/terminfo:/usr/share/terminfo \
- --enable-overwrite
+ --enable-overwrite \
+ --program-prefix=
export BUILD_CC := ${BUILD_CC}
export BUILD_CCFLAGS=-I${S}/ncurses -I${S}/include ${BUILD_CFLAGS}
export BUILD_LDFLAGS=