From 219a6dab8995aad9ac4860cc1a84d6f3509a03a4 Mon Sep 17 00:00:00 2001 From: wbx Date: Sun, 17 May 2009 14:41:34 +0200 Subject: Initial import --- package/bluez/Makefile | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 package/bluez/Makefile (limited to 'package/bluez/Makefile') diff --git a/package/bluez/Makefile b/package/bluez/Makefile new file mode 100644 index 000000000..7e9c4b89e --- /dev/null +++ b/package/bluez/Makefile @@ -0,0 +1,47 @@ +# $Id$ +#- +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +include ${TOPDIR}/rules.mk + +PKG_NAME:= bluez +PKG_VERSION:= 4.12 +PKG_RELEASE:= 1 +PKG_MD5SUM:= e599d7f4ed7e022c85e485934f29a340 +MASTER_SITES:= ${MASTER_SITE_KERNEL:=bluetooth/} + +include ${TOPDIR}/mk/package.mk + +$(eval $(call PKG_template,BLUEZ,bluez,${PKG_VERSION}-${PKG_RELEASE},${ARCH})) + +CONFIGURE_STYLE:= gnu +CONFIGURE_ARGS+= --enable-tools \ + --enable-alsa \ + --enable-usb \ + --enable-bccmd \ + --enable-hidd \ + --enable-pand \ + --enable-dund \ + --disable-cups +BUILD_STYLE:= auto +INSTALL_STYLE:= auto + +post-install: + ${INSTALL_DIR} ${IDIR_BLUEZ}/usr/lib + ${CP} ${WRKINST}/usr/lib/libbluetooth.so.* ${IDIR_BLUEZ}/usr/lib/ + ${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 + ${CP} ${WRKINST}/etc/bluetooth/rfcomm.conf \ + ${IDIR_BLUEZ}/etc/bluetooth/ + $(INSTALL_DATA) $(WRKINST)/etc/dbus-1/system.d/bluetooth.conf \ + $(IDIR_BLUEZ)/etc/dbus-1/system.d + ${INSTALL_DIR} ${IDIR_BLUEZ}/etc/init.d + ${INSTALL_BIN} ./files/bluez.init \ + ${IDIR_BLUEZ}/etc/init.d/bluez + +include ${TOPDIR}/mk/pkg-bottom.mk -- cgit v1.2.3