Makefile 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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.14
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 2c267ccd45d0b18db8c9edacad63ec98
  8. PKG_DESCR:= DBUS library
  9. PKG_SECTION:= net
  10. PKG_DEPENDS:= libexpat
  11. PKG_URL:= http://dbus.freedesktop.org
  12. PKG_SITES:= http://dbus.freedesktop.org/releases/dbus/
  13. include ${TOPDIR}/mk/package.mk
  14. $(eval $(call PKG_template,DBUS,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. CONFIGURE_STYLE:= gnu
  16. CONFIGURE_ARGS+= --disable-tests \
  17. --disable-abstract-sockets \
  18. --without-x \
  19. --enable-checks \
  20. --with-xml=expat \
  21. --disable-dnotify \
  22. --disable-kqueue \
  23. --disable-xml-docs \
  24. --disable-doxygen-docs
  25. CONFIGURE_ENV+= ac_cv_have_abstract_sockets=no
  26. BUILD_STYLE:= auto
  27. INSTALL_STYLE:= confprog auto
  28. post-install:
  29. ${INSTALL_DIR} ${IDIR_DBUS}/etc ${IDIR_DBUS}/usr/lib ${IDIR_DBUS}/usr/bin
  30. ${INSTALL_DIR} $(STAGING_DIR)/usr/include/dbus-1.0/dbus
  31. ${CP} ${WRKINST}/etc/dbus-1 ${IDIR_DBUS}/etc/
  32. ${CP} ${WRKINST}/usr/lib/libdbus-1.so.* ${IDIR_DBUS}/usr/lib/
  33. $(CP) $(WRKINST)/usr/lib/dbus-1.0/include/dbus/dbus-arch-deps.h \
  34. $(STAGING_DIR)/usr/include/dbus-1.0/dbus/
  35. ${INSTALL_BIN} ${WRKINST}/usr/bin/dbus-daemon ${IDIR_DBUS}/usr/bin/
  36. ${INSTALL_BIN} ${WRKINST}/usr/bin/dbus-launch ${IDIR_DBUS}/usr/bin/
  37. include ${TOPDIR}/mk/pkg-bottom.mk