summaryrefslogtreecommitdiff
path: root/bluez-libs/bluez-libs_2.4.oe
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2003-11-02 23:20:41 +0000
committerChris Larson <clarson@kergoth.com>2003-11-02 23:20:41 +0000
commit97662e9926f9edeea729a32a2a048e0207c9db1e (patch)
tree6140e4c66e6859c2f226190d27babd59c4a08246 /bluez-libs/bluez-libs_2.4.oe
parent833984bc870888351fff29c6bc832e291fcd871d (diff)
Merge
2003/11/01 13:47:42+00:00 kano.org.uk!timh bluez-utils_2.3.oe: new file bluez-libs_2.4.oe: Put the headers in the right place and neatness apmd_3.2.0.oe: Correct the section attribute BKrev: 3fa59149j_3XTPOyATWwK86BUqZenQ
Diffstat (limited to 'bluez-libs/bluez-libs_2.4.oe')
-rw-r--r--bluez-libs/bluez-libs_2.4.oe28
1 files changed, 28 insertions, 0 deletions
diff --git a/bluez-libs/bluez-libs_2.4.oe b/bluez-libs/bluez-libs_2.4.oe
index e69de29bb2..511825048e 100644
--- a/bluez-libs/bluez-libs_2.4.oe
+++ b/bluez-libs/bluez-libs_2.4.oe
@@ -0,0 +1,28 @@
+SECTION="libs"
+PRIORITY="optional"
+RDEPENDS="libc6"
+SECTION="libs"
+DEPENDS=virtual/libc
+PROVIDES=virtual/libbluetooth
+
+SRC_URI = "http://bluez.sourceforge.net/download/${PN}-${PV}.tar.gz"
+S=${WORKDIR}/${P}
+
+inherit autotools libtool
+
+do_stage () {
+ install -m 0644 src/.libs/libbluetooth.a ${STAGING_LIBDIR}/
+ install -m 0755 src/.libs/libbluetooth.so.1.0.2 ${STAGING_LIBDIR}/
+
+ ln -sf ${STAGING_LIBDIR}/libbluetooth.so.1.0.2 ${STAGING_LIBDIR}/libbluetooth.so.1
+ ln -sf ${STAGING_LIBDIR}/libbluetooth.so.1.0.2 ${STAGING_LIBDIR}/libbluetooth.so
+
+ install -d ${STAGING_DIR}/target/include/bluetooth
+ for X in bluetooth.h hci.h hci_lib.h hci_uart.h hci_vhci.h l2cap.h \
+ sco.h rfcomm.h
+ do
+ install -m 0644 include/${X} ${STAGING_DIR}/target/include/bluetooth/${X}
+ done
+
+}
+