@ -29,6 +29,18 @@ define Package/bluez/Default
URL:= http://www.bluez.org/
e n d e f
d e f i n e P a c k a g e / b l u e z - e x a m p l e s
$( call Package /bluez /Default )
SECTION:= utils
CATEGORY:= Utilities
TITLE += python example apps
DEPENDS:= +python
e n d e f
d e f i n e P a c k a g e / b l u e z - e x a m p l e s / d e s c r i p t i o n
contains many examples apps for bluetooth, requiring python
e n d e f
d e f i n e P a c k a g e / b l u e z - l i b s
$( call Package /bluez /Default )
SECTION:= libs
@ -42,10 +54,14 @@ $(call Package/bluez/Default)
SECTION:= utils
CATEGORY:= Utilities
TITLE += utilities
DEPENDS:= +bluez-libs +libpthread +dbus +glib2 +libical +libncurses +libreadline $( INTL_DEPENDS) $( ICONV_DEPENDS)
DEPENDS:= +bluez-libs +libpthread +librt + dbus +glib2 +libical +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
/ 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
/ e t c / b l u e t o o t h / p r o x i m i t y . c o n f
/ e t c / c o n f i g / b l u e t o o t h
e n d e f
@ -80,6 +96,11 @@ define Build/InstallDev
$( CP) $( PKG_INSTALL_DIR) /usr/lib/pkgconfig/bluez.pc $( 1) /usr/lib/pkgconfig/
e n d e f
d e f i n e P a c k a g e / b l u e z - e x a m p l e s / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/bin/bluez/
$( INSTALL_DATA) $( PKG_BUILD_DIR) /test/* $( 1) /usr/bin/bluez/
e n d e f
d e f i n e P a c k a g e / b l u e z - l i b s / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/lib
$( CP) $( PKG_INSTALL_DIR) /usr/lib/libbluetooth.so.* $( 1) /usr/lib/
@ -88,13 +109,21 @@ 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/
$( INSTALL_BIN) $( PKG_INSTALL_DIR) /usr/lib/bluetooth/bluetoothd $( 1) /usr/bin
$( INSTALL_BIN) $( PKG_INSTALL_DIR) /usr/lib/bluetooth/obexd $( 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/
$( INSTALL_DATA) ./files/bluetooth.dbus $( 1) /etc/dbus-1/system.d/bluetooth.conf
$( INSTALL_DIR) $( 1) /etc/bluetooth
$( INSTALL_DATA) $( PKG_BUILD_DIR) /src/main.conf $( 1) /etc/bluetooth/main.conf
$( INSTALL_DATA) $( PKG_BUILD_DIR) /profiles/network/network.conf $( 1) /etc/bluetooth/network.conf
$( INSTALL_DATA) $( PKG_BUILD_DIR) /profiles/input/input.conf $( 1) /etc/bluetooth/input.conf
$( INSTALL_DATA) $( PKG_BUILD_DIR) /profiles/proximity/proximity.conf $( 1) /etc/bluetooth/proximity.conf
$( INSTALL_DIR) $( 1) /etc/init.d
$( INSTALL_BIN) ./files/bluez-utils.init $( 1) /etc/init.d/bluez-utils
$( INSTALL_BIN) ./files/bluetoothd.init $( 1) /etc/init.d/bluetoothd
e n d e f
$( eval $ ( call BuildPackage ,bluez -examples ) )
$( eval $ ( call BuildPackage ,bluez -libs ) )
$( eval $ ( call BuildPackage ,bluez -utils ) )