diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2013-12-21 21:37:59 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2013-12-21 21:37:59 +0100 |
commit | ca463b87887d8151b83d222dc35d461991c1dd63 (patch) | |
tree | 5fd14a2e1f57e17214ee81e47c74bd4e4115e104 /package/bluez/Makefile | |
parent | 414cf52c44c7caf09565c9286b9326ac8ac63428 (diff) |
another musl fix round
Diffstat (limited to 'package/bluez/Makefile')
-rw-r--r-- | package/bluez/Makefile | 39 |
1 files changed, 10 insertions, 29 deletions
diff --git a/package/bluez/Makefile b/package/bluez/Makefile index d8a0b540f..ae89d6852 100644 --- a/package/bluez/Makefile +++ b/package/bluez/Makefile @@ -4,47 +4,34 @@ include ${TOPDIR}/rules.mk PKG_NAME:= bluez -PKG_VERSION:= 4.101 -PKG_RELEASE:= 2 -PKG_MD5SUM:= fb42cb7038c380eb0e2fa208987c96ad +PKG_VERSION:= 5.12 +PKG_RELEASE:= 1 +PKG_MD5SUM:= 981b34c2ae7e2ed2e25a167d8a902a25 PKG_DESCR:= bluetooth applications PKG_SECTION:= bluetooth -PKG_DEPENDS:= kmod-bt libbluetooth +PKG_DEPENDS:= kmod-bt glib dbus libreadline +PKG_BUILDDEP:= autotool glib dbus readline PKG_URL:= http://www.bluez.org/ PKG_SITES:= http://mirror.anl.gov/pub/linux/bluetooth/ -PKG_LIBNAME:= libbluetooth PKG_OPTS:= dev -PKG_SUBPKGS:= BLUEZ LIBBLUETOOTH -PKGSC_LIBBLUETOOTH:= libs -PKGSD_LIBBLUETOOTH:= bluetooth libraries -PKGSS_LIBBLUETOOTH:= glib libusb dbus libusb-compat -PKGSB_LIBBLUETOOTH:= glib libusb dbus libusb-compat - PKG_ARCH_DEPENDS:= !avr32 -ifeq ($(ADK_STATIC),y) -PKG_OPTS+= libmix -endif - include ${TOPDIR}/mk/package.mk $(eval $(call PKG_template,BLUEZ,bluez,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) -$(eval $(call PKG_template,LIBBLUETOOTH,libbluetooth,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_LIBBLUETOOTH},${PKGSD_LIBBLUETOOTH},${PKGSC_LIBBLUETOOTH},${PKG_OPTS})) +AUTOTOOL_STYLE:= autoreconf ifeq ($(ADK_STATIC),y) XAKE_FLAGS+= CCLD="$(TARGET_CC) -all-static -pthread" endif TARGET_CFLAGS:= $(filter-out -flto,$(TARGET_CFLAGS)) +TARGET_LDFLAGS+= -lncurses CONFIGURE_ENV+= ac_cv_prog_cc_pie=no CONFIGURE_ARGS+= --enable-tools \ - --enable-alsa \ - --enable-usb \ - --enable-bccmd \ - --enable-hidd \ - --enable-pand \ - --enable-dund \ - --enable-netlink \ + --disable-udev \ + --disable-systemd \ + --disable-obex \ --disable-pie \ --disable-cups @@ -52,16 +39,10 @@ bluez-install: ${INSTALL_DIR} $(IDIR_BLUEZ)/etc/dbus-1/system.d ${INSTALL_DIR} ${IDIR_BLUEZ}/usr/bin ${CP} ${WRKINST}/usr/bin/* ${IDIR_BLUEZ}/usr/bin - ${INSTALL_DIR} ${IDIR_BLUEZ}/usr/sbin - ${CP} ${WRKINST}/usr/sbin/* ${IDIR_BLUEZ}/usr/sbin ${INSTALL_DIR} ${IDIR_BLUEZ}/etc/bluetooth $(INSTALL_DATA) ./files/main.conf \ ${IDIR_BLUEZ}/etc/bluetooth $(INSTALL_DATA) ./files/bluetooth.conf \ $(IDIR_BLUEZ)/etc/dbus-1/system.d -libbluetooth-install: - ${INSTALL_DIR} ${IDIR_LIBBLUETOOTH}/usr/lib - ${CP} ${WRKINST}/usr/lib/libbluetooth.so* ${IDIR_LIBBLUETOOTH}/usr/lib - include ${TOPDIR}/mk/pkg-bottom.mk |