harfbuzz: bump version to 1.4.5
[buildroot-gz.git] / package / dbus-python / dbus-python.mk
blob599d01985731ee71677b03f8bafb93d565a6911d
1 ################################################################################
3 # dbus-python
5 ################################################################################
7 DBUS_PYTHON_VERSION = 1.2.4
8 DBUS_PYTHON_SITE = http://dbus.freedesktop.org/releases/dbus-python
9 DBUS_PYTHON_INSTALL_STAGING = YES
10 DBUS_PYTHON_LICENSE = MIT
11 DBUS_PYTHON_LICENSE_FILES = COPYING
12 DBUS_PYTHON_DEPENDENCIES = dbus-glib
13 DBUS_PYTHON_CONF_OPTS = --disable-html-docs --disable-api-docs
15 ifeq ($(BR2_PACKAGE_PYTHON),y)
16 DBUS_PYTHON_DEPENDENCIES += python host-python
18 DBUS_PYTHON_CONF_ENV += \
19 PYTHON=$(HOST_DIR)/usr/bin/python2 \
20 PYTHON_INCLUDES="`$(STAGING_DIR)/usr/bin/python2-config --includes`" \
21 PYTHON_LIBS="`$(STAGING_DIR)/usr/bin/python2-config --ldflags`"
22 else
23 DBUS_PYTHON_DEPENDENCIES += python3 host-python3
25 DBUS_PYTHON_CONF_ENV += \
26 PYTHON=$(HOST_DIR)/usr/bin/python3 \
27 PYTHON_INCLUDES="`$(STAGING_DIR)/usr/bin/python3-config --includes`" \
28 PYTHON_LIBS="`$(STAGING_DIR)/usr/bin/python3-config --ldflags`"
29 endif
31 $(eval $(autotools-package))