Makefile 1.4 KB

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