Makefile 1.4 KB

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