diff options
Diffstat (limited to 'bluez-utils')
-rw-r--r-- | bluez-utils/bluez-utils_2.10.oe | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/bluez-utils/bluez-utils_2.10.oe b/bluez-utils/bluez-utils_2.10.oe index e69de29bb2..ef6bf41d14 100644 --- a/bluez-utils/bluez-utils_2.10.oe +++ b/bluez-utils/bluez-utils_2.10.oe @@ -0,0 +1,25 @@ +DESCRIPTION = "Linux Bluetooth Stack Userland Utilities." +SECTION = "libs" +PRIORITY = "optional" +DEPENDS = "bluez-libs pcmcia-cs" +RPROVIDES = "bluez-pan bluez-sdp" +PR = "r1" + +SRC_URI = "http://bluez.sourceforge.net/download/bluez-utils-${PV}.tar.gz" + +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 +} + +inherit autotools update-rc.d + +INITSCRIPT_NAME = "bluetooth" +INITSCRIPT_PARAMS = "defaults" + |