board/csky: fixup gdb instructions in readme.txt
[buildroot-gz.git] / package / dbus-cpp / dbus-cpp.mk
blob0b519670610db481f6b66dc536180a73cf6c3bf7
1 ################################################################################
3 # dbus-cpp
5 ################################################################################
7 DBUS_CPP_VERSION = 0.9.0
8 DBUS_CPP_SITE = http://downloads.sourceforge.net/project/dbus-cplusplus/dbus-c++/$(DBUS_CPP_VERSION)
9 DBUS_CPP_SOURCE = libdbus-c++-$(DBUS_CPP_VERSION).tar.gz
10 DBUS_CPP_INSTALL_STAGING = YES
11 # expat is required for the tools irrespective of dbus xml backend
12 DBUS_CPP_DEPENDENCIES = host-dbus-cpp host-pkgconf dbus expat
13 HOST_DBUS_CPP_DEPENDENCIES = host-pkgconf host-dbus host-expat
14 DBUS_CPP_CONF_OPTS = \
15 --disable-examples \
16 --disable-tests \
17 --disable-doxygen-docs \
18 --with-build-libdbus-cxx=$(HOST_DBUS_CPP_BUILDDIR)
19 HOST_DBUS_CPP_CONF_OPTS = \
20 --disable-examples \
21 --disable-tests \
22 --disable-doxygen-docs \
23 --disable-ecore \
24 --disable-glib
25 DBUS_CPP_AUTORECONF = YES
26 DBUS_CPP_LICENSE = LGPLv2.1+
27 DBUS_CPP_LICENSE_FILES = COPYING
29 ifeq ($(BR2_PACKAGE_EFL),y)
30 DBUS_CPP_CONF_OPTS += --enable-ecore
31 DBUS_CPP_DEPENDENCIES += efl
32 else
33 DBUS_CPP_CONF_OPTS += --disable-ecore
34 endif
36 ifeq ($(BR2_PACKAGE_LIBGLIB2),y)
37 DBUS_CPP_CONF_OPTS += --enable-glib
38 DBUS_CPP_DEPENDENCIES += libglib2
39 else
40 DBUS_CPP_CONF_OPTS += --disable-glib
41 endif
43 $(eval $(autotools-package))
44 $(eval $(host-autotools-package))