Makefile 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include ${TOPDIR}/rules.mk
  4. PKG_NAME:= bluez
  5. PKG_VERSION:= 4.40
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= a25fa37c97c309338649f6a5fd4cea76
  8. PKG_DESCR:= bluetooth libraries and applications
  9. PKG_SECTION:= bluetooth
  10. PKG_DEPENDS:= kmod-bluetooth
  11. PKG_URL:= http://www.bluez.org
  12. PKG_SITES:= ${MASTER_SITE_KERNEL:=bluetooth/}
  13. include ${TOPDIR}/mk/package.mk
  14. $(eval $(call PKG_template,BLUEZ,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. CONFIGURE_STYLE:= gnu
  16. CONFIGURE_ARGS+= --enable-tools \
  17. --enable-alsa \
  18. --enable-usb \
  19. --enable-bccmd \
  20. --enable-hidd \
  21. --enable-pand \
  22. --enable-dund \
  23. --disable-cups
  24. BUILD_STYLE:= auto
  25. INSTALL_STYLE:= auto
  26. post-install:
  27. ${INSTALL_DIR} ${IDIR_BLUEZ}/usr/lib
  28. ${CP} ${WRKINST}/usr/lib/libbluetooth.so.* ${IDIR_BLUEZ}/usr/lib/
  29. ${INSTALL_DIR} $(IDIR_BLUEZ)/etc/dbus-1/system.d
  30. ${INSTALL_DIR} ${IDIR_BLUEZ}/usr/bin
  31. ${CP} ${WRKINST}/usr/bin/* ${IDIR_BLUEZ}/usr/bin/
  32. ${INSTALL_DIR} ${IDIR_BLUEZ}/usr/sbin
  33. ${CP} ${WRKINST}/usr/sbin/* ${IDIR_BLUEZ}/usr/sbin/
  34. ${INSTALL_DIR} ${IDIR_BLUEZ}/etc/bluetooth
  35. ${CP} ${WRKINST}/etc/bluetooth/rfcomm.conf \
  36. ${IDIR_BLUEZ}/etc/bluetooth/
  37. $(INSTALL_DATA) $(WRKINST)/etc/dbus-1/system.d/bluetooth.conf \
  38. $(IDIR_BLUEZ)/etc/dbus-1/system.d
  39. include ${TOPDIR}/mk/pkg-bottom.mk