summaryrefslogtreecommitdiffstats
path: root/meta/packages/bluez/bluez-utils_3.4.bb
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-05-08 15:30:16 +0000
committerRichard Purdie <richard@openedhand.com>2007-05-08 15:30:16 +0000
commit4c5caa6764150e68775e7d4774e82b5a27e475f8 (patch)
tree5f14cf02be03663e124f04b9a6c548e42a5f57ec /meta/packages/bluez/bluez-utils_3.4.bb
parent81547613652cbcc65dfc1e832e6845f3f167c2be (diff)
downloadpoky-4c5caa6764150e68775e7d4774e82b5a27e475f8.tar.gz
bluez: Move from meta-extras to meta since required by syncml/openobex
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1612 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/bluez/bluez-utils_3.4.bb')
-rw-r--r--meta/packages/bluez/bluez-utils_3.4.bb53
1 files changed, 53 insertions, 0 deletions
diff --git a/meta/packages/bluez/bluez-utils_3.4.bb b/meta/packages/bluez/bluez-utils_3.4.bb
new file mode 100644
index 0000000000..49e6ded250
--- /dev/null
+++ b/meta/packages/bluez/bluez-utils_3.4.bb
@@ -0,0 +1,53 @@
1DESCRIPTION = "Linux Bluetooth Stack Userland Utilities."
2SECTION = "console"
3PRIORITY = "optional"
4DEPENDS = "bluez-libs-${PV} dbus"
5PROVIDES = "bluez-utils-dbus"
6RPROVIDES_${PN} = "bluez-pan bluez-sdp bluez-utils-dbus"
7RREPLACES = "bluez-utils-dbus"
8RCONFLICTS_${PN} = "bluez-utils-nodbus"
9LICENSE = "GPL"
10PR = "r1"
11
12SRC_URI = "http://bluez.sourceforge.net/download/bluez-utils-${PV}.tar.gz \
13 file://hcid.conf \
14 file://02dtl1_cs.sh \
15 file://hciattach-ti-bts.patch;patch=1"
16
17# Almost all serial CF cards w/ manfid 0x0000,0x0000 seem to use the bcs protocol
18# Let's default to that instead of 'any' until further notice...
19SRC_URI += " file://default-manfid-0x0-to-bcps.patch;patch=1"
20
21S = "${WORKDIR}/bluez-utils-${PV}"
22
23EXTRA_OECONF = "--enable-initscripts --enable-bcm203x --enable-hid2hci"
24# --enable-obex enable OBEX support
25# --enable-alsa enable ALSA support
26# --enable-cups install CUPS backend support
27# --enable-bccmd install BCCMD interface utility
28# --enable-avctrl install Audio/Video control utility
29# --enable-hid2hci install HID mode switching utility
30# --enable-dfutool install DFU firmware upgrade utility
31
32inherit autotools update-rc.d
33
34INITSCRIPT_NAME = "bluetooth"
35INITSCRIPT_PARAMS = "defaults 23 19"
36
37do_install_append() {
38 install -d ${D}${base_sbindir} ${D}${base_bindir}/ ${D}${sysconfdir}/apm/event.d/
39 mv ${D}${sbindir}/* ${D}${base_sbindir}/
40 mv ${D}${bindir}/* ${D}${base_bindir}/
41 rmdir ${D}${bindir} ${D}${sbindir}
42 chmod u+s ${D}${base_sbindir}/hciattach ${D}${base_sbindir}/hciconfig
43 install -m 0644 ${WORKDIR}/hcid.conf ${D}${sysconfdir}/bluetooth/
44 install -m 0755 ${WORKDIR}/02dtl1_cs.sh ${D}${sysconfdir}/apm/event.d/
45}
46
47CONFFILES_${PN} = "${sysconfdir}/bluetooth/hcid.conf ${sysconfdir}/bluetooth/rfcomm.conf \
48 ${sysconfdir}/default/bluetooth"
49
50PACKAGES =+ "${PN}-ciptool"
51FILES_${PN}-ciptool = "/bin/ciptool"
52RREPLACES_${PN}-ciptool = "bluez-utils-dbus-ciptool"
53RCONFLICTS_${PN}-ciptool = "bluez-utils-dbus-ciptool bluez-utils-nodbus"