dbus-cpp.mk 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. ################################################################################
  2. #
  3. # dbus-c++
  4. #
  5. ################################################################################
  6. DBUS_CPP_VERSION = 0.9.0
  7. DBUS_CPP_SITE = http://downloads.sourceforge.net/project/dbus-cplusplus/dbus-c++/$(DBUS_CPP_VERSION)
  8. DBUS_CPP_SOURCE = libdbus-c++-$(DBUS_CPP_VERSION).tar.gz
  9. DBUS_CPP_INSTALL_STAGING = YES
  10. # expat is required for the tools irrespective of dbus xml backend
  11. DBUS_CPP_DEPENDENCIES = host-dbus-cpp host-pkgconf dbus expat
  12. HOST_DBUS_CPP_DEPENDENCIES = host-pkgconf host-dbus host-expat
  13. DBUS_CPP_CONF_OPT = --disable-examples --disable-tests --disable-doxygen-docs \
  14. --with-build-libdbus-cxx=$(HOST_DBUS_CPP_BUILDDIR)
  15. HOST_DBUS_CPP_CONF_OPT = --disable-examples --disable-tests \
  16. --disable-doxygen-docs --disable-ecore --disable-glib
  17. DBUS_CPP_LICENSE = LGPLv2.1+
  18. DBUS_CPP_LICENSE_FILES = COPYING
  19. ifeq ($(BR2_PACKAGE_LIBECORE),y)
  20. DBUS_CPP_CONF_OPT += --enable-ecore
  21. DBUS_CPP_DEPENDENCIES += libecore
  22. else
  23. DBUS_CPP_CONF_OPT += --disable-ecore
  24. endif
  25. ifeq ($(BR2_PACKAGE_LIBGLIB2),y)
  26. DBUS_CPP_CONF_OPT += --enable-glib
  27. DBUS_CPP_DEPENDENCIES += libglib2
  28. else
  29. DBUS_CPP_CONF_OPT += --disable-glib
  30. endif
  31. $(eval $(autotools-package))
  32. $(eval $(host-autotools-package))