dbus-cpp.mk 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. ################################################################################
  2. #
  3. # dbus-cpp
  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_OPTS = --disable-examples --disable-tests --disable-doxygen-docs \
  14. --with-build-libdbus-cxx=$(HOST_DBUS_CPP_BUILDDIR)
  15. HOST_DBUS_CPP_CONF_OPTS = --disable-examples --disable-tests \
  16. --disable-doxygen-docs --disable-ecore --disable-glib
  17. DBUS_CPP_AUTORECONF = YES
  18. DBUS_CPP_LICENSE = LGPLv2.1+
  19. DBUS_CPP_LICENSE_FILES = COPYING
  20. ifeq ($(BR2_PACKAGE_LIBECORE),y)
  21. DBUS_CPP_CONF_OPTS += --enable-ecore
  22. DBUS_CPP_DEPENDENCIES += libecore
  23. else
  24. DBUS_CPP_CONF_OPTS += --disable-ecore
  25. endif
  26. ifeq ($(BR2_PACKAGE_LIBGLIB2),y)
  27. DBUS_CPP_CONF_OPTS += --enable-glib
  28. DBUS_CPP_DEPENDENCIES += libglib2
  29. else
  30. DBUS_CPP_CONF_OPTS += --disable-glib
  31. endif
  32. $(eval $(autotools-package))
  33. $(eval $(host-autotools-package))