2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2009-03-18 12:27:49 +01:00
|
|
|
#
|
|
|
|
# dbus-python
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-06-06 01:53:25 +02:00
|
|
|
|
2014-07-03 21:59:30 +02:00
|
|
|
DBUS_PYTHON_VERSION = 1.2.0
|
2014-07-31 10:46:58 +02:00
|
|
|
DBUS_PYTHON_SITE = http://dbus.freedesktop.org/releases/dbus-python
|
2009-03-18 12:27:49 +01:00
|
|
|
DBUS_PYTHON_INSTALL_STAGING = YES
|
2014-06-26 21:20:32 +02:00
|
|
|
DBUS_PYTHON_LICENSE = MIT
|
|
|
|
DBUS_PYTHON_LICENSE_FILES = COPYING
|
2014-11-20 14:53:31 +01:00
|
|
|
DBUS_PYTHON_DEPENDENCIES = dbus-glib
|
|
|
|
DBUS_PYTHON_CONF_OPTS = --disable-html-docs --disable-api-docs
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_PYTHON),y)
|
|
|
|
DBUS_PYTHON_DEPENDENCIES += python host-python
|
2009-03-18 12:27:49 +01:00
|
|
|
|
2014-11-20 14:53:31 +01:00
|
|
|
DBUS_PYTHON_CONF_ENV += \
|
2014-11-20 14:53:29 +01:00
|
|
|
PYTHON=$(HOST_DIR)/usr/bin/python2 \
|
2015-07-12 16:35:26 +02:00
|
|
|
PYTHON_INCLUDES="`$(STAGING_DIR)/usr/bin/python2-config --includes`" \
|
|
|
|
PYTHON_LIBS="`$(STAGING_DIR)/usr/bin/python2-config --ldflags`"
|
2014-11-20 14:53:31 +01:00
|
|
|
else
|
|
|
|
DBUS_PYTHON_DEPENDENCIES += python3 host-python3
|
|
|
|
|
|
|
|
DBUS_PYTHON_CONF_ENV += \
|
|
|
|
PYTHON=$(HOST_DIR)/usr/bin/python3 \
|
2015-07-12 16:35:26 +02:00
|
|
|
PYTHON_INCLUDES="`$(STAGING_DIR)/usr/bin/python3-config --includes`" \
|
|
|
|
PYTHON_LIBS="`$(STAGING_DIR)/usr/bin/python3-config --ldflags`"
|
2014-11-20 14:53:31 +01:00
|
|
|
endif
|
2009-03-18 12:27:49 +01:00
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|