@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME := bluez
PKG_VERSION := 5.30
PKG_RELEASE := 1
PKG_RELEASE := 2
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.xz
PKG_SOURCE_URL := http://www.kernel.org/pub/linux/bluetooth/
@ -47,7 +47,7 @@ $(call Package/bluez/Default)
SECTION:= libs
CATEGORY:= Libraries
TITLE += library
DEPENDS:= +libpthread
DEPENDS:= +libpthread +kmod-bluetooth
e n d e f
d e f i n e P a c k a g e / b l u e z - u t i l s
@ -55,10 +55,18 @@ $(call Package/bluez/Default)
SECTION:= utils
CATEGORY:= Utilities
TITLE += utilities
DEPENDS:= +bluez-libs +libpthread +librt +dbus + glib2 +libical +libncurses +libreadline $( INTL_DEPENDS) $( ICONV_DEPENDS)
DEPENDS:= +bluez-libs +libpthread +librt +glib2 +libncurses +libreadline $( INTL_DEPENDS) $( ICONV_DEPENDS)
e n d e f
d e f i n e P a c k a g e / b l u e z - u t i l s / c o n f f i l e s
d e f i n e P a c k a g e / b l u e z - d a e m o n
$( call Package /bluez /Default )
SECTION:= utils
CATEGORY:= Utilities
TITLE += daemon
DEPENDS:= +bluez-libs +bluez-utils +dbus +libical $( INTL_DEPENDS) $( ICONV_DEPENDS)
e n d e f
d e f i n e P a c k a g e / b l u e z - d a e m o n / c o n f f i l e s
/ e t c / b l u e t o o t h / m a i n . c o n f
/ e t c / b l u e t o o t h / n e t w o r k . c o n f
/ e t c / b l u e t o o t h / i n p u t . c o n f
@ -109,10 +117,28 @@ endef
d e f i n e P a c k a g e / b l u e z - u t i l s / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/bin
$( CP) $( PKG_INSTALL_DIR) /usr/bin/* $( 1) /usr/bin/
$( CP) $( PKG_INSTALL_DIR) /usr/bin/bccmd $( 1) /usr/bin/
$( CP) $( PKG_INSTALL_DIR) /usr/bin/bluemoon $( 1) /usr/bin/
$( CP) $( PKG_INSTALL_DIR) /usr/bin/btmon $( 1) /usr/bin/
$( CP) $( PKG_INSTALL_DIR) /usr/bin/ciptool $( 1) /usr/bin/
$( CP) $( PKG_INSTALL_DIR) /usr/bin/hciattach $( 1) /usr/bin/
$( CP) $( PKG_INSTALL_DIR) /usr/bin/hciconfig $( 1) /usr/bin/
$( CP) $( PKG_INSTALL_DIR) /usr/bin/hcidump $( 1) /usr/bin/
$( CP) $( PKG_INSTALL_DIR) /usr/bin/hcitool $( 1) /usr/bin/
$( CP) $( PKG_INSTALL_DIR) /usr/bin/hex2hcd $( 1) /usr/bin/
$( CP) $( PKG_INSTALL_DIR) /usr/bin/l2ping $( 1) /usr/bin/
$( CP) $( PKG_INSTALL_DIR) /usr/bin/l2test $( 1) /usr/bin/
$( CP) $( PKG_INSTALL_DIR) /usr/bin/rctest $( 1) /usr/bin/
$( CP) $( PKG_INSTALL_DIR) /usr/bin/rfcomm $( 1) /usr/bin/
$( CP) $( PKG_INSTALL_DIR) /usr/bin/sdptool $( 1) /usr/bin/
$( INSTALL_BIN) $( PKG_BUILD_DIR) /attrib/gatttool $( 1) /usr/bin/
e n d e f
d e f i n e P a c k a g e / b l u e z - d a e m o n / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/bin
$( CP) $( PKG_INSTALL_DIR) /usr/lib/bluetooth/bluetoothd $( 1) /usr/bin/
$( CP) $( PKG_INSTALL_DIR) /usr/bin/bluetoothctl $( 1) /usr/bin/
$( CP) $( PKG_INSTALL_DIR) /usr/lib/bluetooth/obexd $( 1) /usr/bin/
$( INSTALL_BIN) $( PKG_BUILD_DIR) /attrib/gatttool $( 1) /usr/bin/
$( INSTALL_DIR) $( 1) /etc/config
$( INSTALL_DATA) ./files/bluetooth.config $( 1) /etc/config/bluetooth
$( INSTALL_DIR) $( 1) /etc/dbus-1/system.d/
@ -129,3 +155,4 @@ endef
$( eval $ ( call BuildPackage ,bluez -examples ) )
$( eval $ ( call BuildPackage ,bluez -libs ) )
$( eval $ ( call BuildPackage ,bluez -utils ) )
$( eval $ ( call BuildPackage ,bluez -daemon ) )