Makefile 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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.16
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= c7a47b851ebe02f6726b65b78d1b730b
  8. PKG_DESCR:= DBUS library
  9. PKG_SECTION:= net
  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_STYLE:= gnu
  20. CONFIGURE_ARGS+= --disable-tests \
  21. --disable-abstract-sockets \
  22. --without-x \
  23. --enable-checks \
  24. --with-xml=expat \
  25. --disable-dnotify \
  26. --disable-kqueue \
  27. --disable-xml-docs \
  28. --disable-doxygen-docs
  29. CONFIGURE_ENV+= ac_cv_have_abstract_sockets=no
  30. BUILD_STYLE:= auto
  31. INSTALL_STYLE:= auto
  32. pre-install:
  33. ${INSTALL_DIR} $(STAGING_DIR)/usr/include/dbus-1.0/dbus
  34. $(CP) $(WRKBUILD)/dbus/dbus-arch-deps.h \
  35. $(STAGING_DIR)/usr/include/dbus-1.0/dbus/
  36. post-install:
  37. ${INSTALL_DIR} ${IDIR_DBUS}/etc ${IDIR_DBUS}/usr/lib ${IDIR_DBUS}/usr/bin
  38. ${CP} ${WRKINST}/etc/dbus-1 ${IDIR_DBUS}/etc/
  39. ${CP} ${WRKINST}/usr/lib/libdbus-1.so.* ${IDIR_DBUS}/usr/lib/
  40. ${INSTALL_BIN} ${WRKINST}/usr/bin/dbus-daemon ${IDIR_DBUS}/usr/bin/
  41. ${INSTALL_BIN} ${WRKINST}/usr/bin/dbus-launch ${IDIR_DBUS}/usr/bin/
  42. include ${TOPDIR}/mk/pkg-bottom.mk