1
0

Makefile 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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. ifeq ($(ADK_STATIC),y)
  15. PKG_OPTS:= libonly
  16. endif
  17. include ${TOPDIR}/mk/package.mk
  18. $(eval $(call PKG_template,DBUS,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  19. CONFIGURE_ARGS+= --disable-tests \
  20. --disable-abstract-sockets \
  21. --without-x \
  22. --enable-checks \
  23. --with-xml=expat \
  24. --disable-dnotify \
  25. --disable-kqueue \
  26. --disable-xml-docs \
  27. --disable-doxygen-docs
  28. CONFIGURE_ENV+= ac_cv_have_abstract_sockets=no
  29. pre-install:
  30. ${INSTALL_DIR} $(STAGING_DIR)/usr/include/dbus-1.0/dbus
  31. $(CP) $(WRKBUILD)/dbus/dbus-arch-deps.h \
  32. $(STAGING_DIR)/usr/include/dbus-1.0/dbus/
  33. post-install:
  34. ${INSTALL_DIR} ${IDIR_DBUS}/etc ${IDIR_DBUS}/usr/lib \
  35. ${IDIR_DBUS}/usr/bin
  36. ${CP} ${WRKINST}/etc/dbus-1 ${IDIR_DBUS}/etc/
  37. ${CP} ${WRKINST}/usr/lib/libdbus-1.so* ${IDIR_DBUS}/usr/lib/
  38. ${INSTALL_BIN} ${WRKINST}/usr/bin/dbus-daemon ${IDIR_DBUS}/usr/bin/
  39. ${INSTALL_BIN} ${WRKINST}/usr/bin/dbus-launch ${IDIR_DBUS}/usr/bin/
  40. include ${TOPDIR}/mk/pkg-bottom.mk