Makefile 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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:= dbus
  5. PKG_VERSION:= 1.2.24
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 565346cecd9cfecf1463540c6086cc2c
  8. PKG_DESCR:= DBUS library
  9. PKG_SECTION:= libs
  10. PKG_DEPENDS:= libexpat
  11. PKG_BUILDDEP:= expat
  12. PKG_URL:= http://dbus.freedesktop.org/
  13. PKG_SITES:= http://dbus.freedesktop.org/releases/dbus/
  14. PKG_SUBPKGS:= DBUS DBUS_DEV
  15. PKGSC_DBUS_DEV:= devel
  16. PKGSD_DBUS_DEV:= DBUS headers
  17. ifeq ($(ADK_STATIC),y)
  18. PKG_OPTS:= libonly
  19. endif
  20. include ${TOPDIR}/mk/package.mk
  21. $(eval $(call PKG_template,DBUS,dbus,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  22. $(eval $(call PKG_template,DBUS_DEV,dbus-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_DBUS_DEV},${PKGSC_DBUS_DEV},${PKG_OPTS}))
  23. CONFIGURE_ARGS+= --disable-tests \
  24. --disable-abstract-sockets \
  25. --without-x \
  26. --enable-checks \
  27. --with-xml=expat \
  28. --disable-dnotify \
  29. --disable-kqueue \
  30. --disable-xml-docs \
  31. --disable-doxygen-docs
  32. CONFIGURE_ENV+= ac_cv_have_abstract_sockets=no
  33. pre-install:
  34. ${INSTALL_DIR} $(STAGING_DIR)/usr/include/dbus-1.0/dbus
  35. $(CP) $(WRKBUILD)/dbus/dbus-arch-deps.h \
  36. $(STAGING_DIR)/usr/include/dbus-1.0/dbus
  37. dbus-install:
  38. ${INSTALL_DIR} ${IDIR_DBUS}/etc ${IDIR_DBUS}/usr/lib \
  39. ${IDIR_DBUS}/usr/bin
  40. ${CP} ${WRKINST}/etc/dbus-1 ${IDIR_DBUS}/etc
  41. ${CP} ${WRKINST}/usr/lib/libdbus-1.so* ${IDIR_DBUS}/usr/lib
  42. ${INSTALL_BIN} ${WRKINST}/usr/bin/dbus-daemon ${IDIR_DBUS}/usr/bin
  43. ${INSTALL_BIN} ${WRKINST}/usr/bin/dbus-launch ${IDIR_DBUS}/usr/bin
  44. dbus-dev-install:
  45. ${INSTALL_DIR} ${IDIR_DBUS_DEV}/usr/include
  46. ${CP} ${WRKINST}/usr/include/* ${IDIR_DBUS_DEV}/usr/include
  47. ${INSTALL_DIR} $(IDIR_DBUS_DEV)/usr/include/dbus-1.0/dbus
  48. $(CP) $(WRKBUILD)/dbus/dbus-arch-deps.h \
  49. $(IDIR_DBUS_DEV)/usr/include/dbus-1.0/dbus
  50. ${INSTALL_DIR} ${IDIR_DBUS_DEV}/usr/lib/pkgconfig
  51. ${CP} ${WRKINST}/usr/lib/pkgconfig/*.pc \
  52. ${IDIR_DBUS_DEV}/usr/lib/pkgconfig
  53. include ${TOPDIR}/mk/pkg-bottom.mk