diff options
author | Chris Larson <clarson@kergoth.com> | 2003-11-21 18:27:14 +0000 |
---|---|---|
committer | Chris Larson <clarson@kergoth.com> | 2003-11-21 18:27:14 +0000 |
commit | e9b171e0738c2acef0650328b7f2e1ae7cdc55cc (patch) | |
tree | 8afdd2f094195bb88a7a9636f5b9bd9f53ebb492 /bluez-sdp | |
parent | acea8d73cb0c72991690d488915e426bf7e46675 (diff) |
Numerous build fixes from an oemake -a run, including two more fixes for libtool 'libdir from .la file leaking into library search path' situations.
BKrev: 3fbe5902eywlLRHkRQ1FaDS5C01-jg
Diffstat (limited to 'bluez-sdp')
-rw-r--r-- | bluez-sdp/bluez-sdp_1.5.oe | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/bluez-sdp/bluez-sdp_1.5.oe b/bluez-sdp/bluez-sdp_1.5.oe index e69de29bb2..f9e6a3fb87 100644 --- a/bluez-sdp/bluez-sdp_1.5.oe +++ b/bluez-sdp/bluez-sdp_1.5.oe @@ -0,0 +1,30 @@ +SECTION="libs" +PRIORITY="optional" +RDEPENDS="libc6" +SECTION="libs" +DEPENDS=virtual/libc virtual/libbluetooth +PROVIDES=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" +LDFLAGS_prepend = "-L${S}/libs " + +inherit autotools libtool + +do_stage () { + install -m 0644 libs/.libs/libsdp.a ${STAGING_LIBDIR}/ + install -m 0644 libs/.libs/libsdp.lai ${STAGING_LIBDIR}/libsdp.la + install -m 0755 libs/.libs/libsdp.so.2.0.1 ${STAGING_LIBDIR}/ + + ln -sf ${STAGING_LIBDIR}/libsdp.so.2.0.1 ${STAGING_LIBDIR}/libsdp.so.2 + ln -sf ${STAGING_LIBDIR}/libsdp.so.2.0.1 ${STAGING_LIBDIR}/libsdp.so + + for X in sdp.h sdp_lib.h + do + install -m 0644 include/${X} ${STAGING_DIR}/target/include/bluetooth/${X} + done + +} + |