Makefile 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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.12
  8. PKG_RELEASE:= 1
  9. PKG_MD5SUM:= e599d7f4ed7e022c85e485934f29a340
  10. MASTER_SITES:= ${MASTER_SITE_KERNEL:=bluetooth/}
  11. include ${TOPDIR}/mk/package.mk
  12. $(eval $(call PKG_template,BLUEZ,bluez,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
  13. CONFIGURE_STYLE:= gnu
  14. CONFIGURE_ARGS+= --enable-tools \
  15. --enable-alsa \
  16. --enable-usb \
  17. --enable-bccmd \
  18. --enable-hidd \
  19. --enable-pand \
  20. --enable-dund \
  21. --disable-cups
  22. BUILD_STYLE:= auto
  23. INSTALL_STYLE:= auto
  24. post-install:
  25. ${INSTALL_DIR} ${IDIR_BLUEZ}/usr/lib
  26. ${CP} ${WRKINST}/usr/lib/libbluetooth.so.* ${IDIR_BLUEZ}/usr/lib/
  27. ${INSTALL_DIR} $(IDIR_BLUEZ)/etc/dbus-1/system.d
  28. ${INSTALL_DIR} ${IDIR_BLUEZ}/usr/bin
  29. ${CP} ${WRKINST}/usr/bin/* ${IDIR_BLUEZ}/usr/bin/
  30. ${INSTALL_DIR} ${IDIR_BLUEZ}/usr/sbin
  31. ${CP} ${WRKINST}/usr/sbin/* ${IDIR_BLUEZ}/usr/sbin/
  32. ${INSTALL_DIR} ${IDIR_BLUEZ}/etc/bluetooth
  33. ${CP} ${WRKINST}/etc/bluetooth/rfcomm.conf \
  34. ${IDIR_BLUEZ}/etc/bluetooth/
  35. $(INSTALL_DATA) $(WRKINST)/etc/dbus-1/system.d/bluetooth.conf \
  36. $(IDIR_BLUEZ)/etc/dbus-1/system.d
  37. ${INSTALL_DIR} ${IDIR_BLUEZ}/etc/init.d
  38. ${INSTALL_BIN} ./files/bluez.init \
  39. ${IDIR_BLUEZ}/etc/init.d/bluez
  40. include ${TOPDIR}/mk/pkg-bottom.mk