diff options
author | Chris Larson <clarson@kergoth.com> | 2003-11-17 23:13:17 +0000 |
---|---|---|
committer | Chris Larson <clarson@kergoth.com> | 2003-11-17 23:13:17 +0000 |
commit | aad8af5665e5c028d66e7cc89a3673b76d463540 (patch) | |
tree | 8746f411a3b41f3fd91c7a3e6d6ce5c9920960c8 | |
parent | 323adbc861dd869c97dd105e91d48b8f213caa57 (diff) |
Fix the bluez-pan and libnet-0.10.11 builds.
BKrev: 3fb9560dUNVr11lHmD6r6IWYD2JldA
-rw-r--r-- | bluez-pan/bluez-pan_1.1.oe | 12 | ||||
-rw-r--r-- | libnet/libnet_0.10.11.oe | 33 |
2 files changed, 45 insertions, 0 deletions
diff --git a/bluez-pan/bluez-pan_1.1.oe b/bluez-pan/bluez-pan_1.1.oe index e69de29bb2..dece88f1c7 100644 --- a/bluez-pan/bluez-pan_1.1.oe +++ b/bluez-pan/bluez-pan_1.1.oe @@ -0,0 +1,12 @@ +SECTION="libs" +PRIORITY="optional" +RDEPENDS="libc6" +SECTION="libs" +DEPENDS=virtual/libc virtual/libbluetooth virtual/libsdp + +SRC_URI = "http://bluez.sourceforge.net/download/${PN}-${PV}.tar.gz" +S=${WORKDIR}/${P} + +EXTRA_OECONF:="--with-bluez-libs=${STAGING_LIBDIR} --with-bluez-includes=${STAGING_DIR}/target/include --with-sdp-libs=${STAGING_LIBDIR} --with-sdp-includes=${STAGING_DIR}/target/include" + +inherit autotools libtool diff --git a/libnet/libnet_0.10.11.oe b/libnet/libnet_0.10.11.oe index e69de29bb2..b52a3056a3 100644 --- a/libnet/libnet_0.10.11.oe +++ b/libnet/libnet_0.10.11.oe @@ -0,0 +1,33 @@ +DEPENDS = virtual/libc +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}/ +} |