summaryrefslogtreecommitdiff
path: root/packages/bluez-utils/bluez-utils-common_2.11.inc
diff options
context:
space:
mode:
authornslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net>2004-12-28 17:40:11 +0000
committernslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net>2004-12-28 17:40:11 +0000
commit3bf6f8c323aa797765ad4039312c32d0dfd39c7f (patch)
tree2b17f84196854131a81c2a462c9693b180fcdde3 /packages/bluez-utils/bluez-utils-common_2.11.inc
parent05a6a49cb23da59c7bfb27990d8fd6d0c37dcded (diff)
Merge bk://oe-devel.bkbits.net/openembedded
into bkbits.net:/repos/n/nslu2-linux/openembedded 2004/12/28 18:12:59+01:00 dyndns.org!reenoo prismstumbler: add missing RDEPENDS 2004/12/28 17:54:43+01:00 dyndns.org!reenoo Merge oe-devel@oe-devel.bkbits.net:openembedded into sugarcube.dyndns.org:/home2/oe/bakery/openembedded 2004/12/28 17:54:16+01:00 dyndns.org!reenoo bluez: dbus related patches by Koen Kooi BKrev: 41d19a7bzQdOy-Bt0WC-USN8MFGbJg
Diffstat (limited to 'packages/bluez-utils/bluez-utils-common_2.11.inc')
-rw-r--r--packages/bluez-utils/bluez-utils-common_2.11.inc28
1 files changed, 28 insertions, 0 deletions
diff --git a/packages/bluez-utils/bluez-utils-common_2.11.inc b/packages/bluez-utils/bluez-utils-common_2.11.inc
index e69de29bb2..6cebe42730 100644
--- a/packages/bluez-utils/bluez-utils-common_2.11.inc
+++ b/packages/bluez-utils/bluez-utils-common_2.11.inc
@@ -0,0 +1,28 @@
+DESCRIPTION = "Linux Bluetooth Stack Userland Utilities."
+SECTION = "libs"
+PRIORITY = "optional"
+DEPENDS = "bluez-libs pcmcia-cs"
+RPROVIDES = "bluez-pan bluez-sdp bluez-utils"
+LICENSE = "GPL"
+
+SRC_URI = "http://bluez.sourceforge.net/download/bluez-utils-${PV}.tar.gz \
+ file://hcid.conf"
+S = "${WORKDIR}/bluez-utils-${PV}"
+
+EXTRA_OECONF = "--with-bluez-libs=${STAGING_LIBDIR} --with-bluez-includes=${STAGING_INCDIR} --enable-pcmcia --enable-initscripts"
+
+do_install_append() {
+ install -d ${D}/sbin ${D}/bin/
+ mv ${D}${sbindir}/* ${D}/sbin/
+ mv ${D}${bindir}/* ${D}/bin/
+ rmdir ${D}${bindir} ${D}${sbindir}
+ chmod u+s ${D}/sbin/hciattach ${D}/sbin/hciconfig
+ chmod 755 ${D}/etc/pcmcia/bluetooth
+ install -m 0644 ${WORKDIR}/hcid.conf ${D}/etc/bluetooth/
+}
+
+inherit autotools update-rc.d
+
+INITSCRIPT_NAME = "bluetooth"
+INITSCRIPT_PARAMS = "defaults 23 19"
+