# $FreeWRT$ #- # This file is part of the FreeWRT project. FreeWRT is copyrighted # material, please see the LICENCE file in the top-level directory # or at http://www.freewrt.org/licence for details. include ${TOPDIR}/rules.mk PKG_NAME:= bluez-utils PKG_VERSION:= 3.9 PKG_RELEASE:= 7 PKG_MD5SUM:= 023a5e6a436f86a28baeec91e4c62736 MASTER_SITES:= http://bluez.sourceforge.net/download/ include ${TOPDIR}/mk/package.mk $(eval $(call PKG_template,BLUEZ_UTILS,bluez-utils,${PKG_VERSION}-${PKG_RELEASE},${ARCH})) TCPPFLAGS+= -I$(STAGING_DIR)/usr/include/dbus-1.0 CONFIGURE_STYLE= gnu CONFIGURE_ARGS+= --disable-fuse \ --disable-obex \ --disable-alsa \ --disable-cups \ --disable-pcmcia \ --disable-initscripts \ --disable-bccmd \ --disable-avctrl \ --disable-hid2hci \ --disable-dfutool \ --enable-bcm203x \ --disable-bluepin \ --with-bluez=${STAGING_DIR}/usr/include \ --with-usb=${STAGING_DIR}/usr/include BUILD_STYLE= auto INSTALL_STYLE= auto post-install: ${INSTALL_DIR} $(IDIR_BLUEZ_UTILS)/etc/dbus-1/system.d ${INSTALL_DIR} ${IDIR_BLUEZ_UTILS}/usr/bin ${CP} ${WRKINST}/usr/bin/* ${IDIR_BLUEZ_UTILS}/usr/bin/ ${INSTALL_DIR} ${IDIR_BLUEZ_UTILS}/usr/sbin ${CP} ${WRKINST}/usr/sbin/* ${IDIR_BLUEZ_UTILS}/usr/sbin/ ${INSTALL_DIR} ${IDIR_BLUEZ_UTILS}/etc/bluetooth ${CP} ${WRKINST}/etc/bluetooth/{hcid,rfcomm}.conf \ ${IDIR_BLUEZ_UTILS}/etc/bluetooth/ $(INSTALL_DATA) $(WRKINST)/etc/dbus-1/system.d/bluetooth.conf \ $(IDIR_BLUEZ_UTILS)/etc/dbus-1/system.d ${INSTALL_DIR} ${IDIR_BLUEZ_UTILS}/etc/init.d ${INSTALL_BIN} ./files/bluez.init \ ${IDIR_BLUEZ_UTILS}/etc/init.d/bluez include ${TOPDIR}/mk/pkg-bottom.mk