kumquat-buildroot/package/efl/libedbus/libedbus.mk
Peter Korsgaard 4b02a28208 libedbus: add options for bluez/connman/notify support
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-04-18 23:38:19 +02:00

35 lines
894 B
Makefile

#############################################################
#
# libedbus
#
#############################################################
LIBEDBUS_VERSION = 1.1.0
LIBEDBUS_SOURCE = e_dbus-$(LIBEDBUS_VERSION).tar.bz2
LIBEDBUS_SITE = http://download.enlightenment.org/releases/
LIBEDBUS_INSTALL_STAGING = YES
LIBEDBUS_DEPENDENCIES = host-pkg-config dbus libeina libecore
ifeq ($(BR2_PACKAGE_LIBEDBUS_BLUEZ),y)
LIBEDBUS_CONF_OPT += --enable-ebluez
LIBEDBUS_DEPENDENCIES += bluez_utils
else
LIBEDBUS_CONF_OPT += --disable-ebluez
endif
ifeq ($(BR2_PACKAGE_LIBEDBUS_CONNMAN),y)
LIBEDBUS_CONF_OPT += --enable-econnman0_7x
LIBEDBUS_DEPENDENCIES += connman
else
LIBEDBUS_CONF_OPT += --disable-econnman0_7x
endif
ifeq ($(BR2_PACKAGE_LIBEDBUS_NOTIFY),y)
LIBEDBUS_CONF_OPT += --enable-enotify --disable-edbus-notify-test
else
LIBEDBUS_CONF_OPT += --disable-enotify
endif
$(eval $(call AUTOTARGETS))