7f9ad0ed7f
The php-pecl-dbus package provides a PHP extension for interaction with D-Bus busses. https://github.com/derickr/pecl-dbus Based on initial work from Nicolas Carrier <nicolas.carrier@orolia.com> Signed-off-by: Herve Codina <herve.codina@bootlin.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
25 lines
819 B
Makefile
25 lines
819 B
Makefile
################################################################################
|
|
#
|
|
# php-pecl-dbus
|
|
#
|
|
################################################################################
|
|
|
|
PHP_PECL_DBUS_VERSION = 315d17558c7614d02e923d898231e51c86a25789
|
|
PHP_PECL_DBUS_SITE = $(call github,derickr,pecl-dbus,$(PHP_PECL_DBUS_VERSION))
|
|
PHP_PECL_DBUS_LICENSE = PHP-3.01
|
|
PHP_PECL_DBUS_LICENSE_FILES = LICENSE
|
|
PHP_PECL_DBUS_DEPENDENCIES = php dbus libxml2 host-autoconf host-pkgconf
|
|
|
|
PHP_PECL_DBUS_CONF_OPTS = \
|
|
--with-php-config=$(STAGING_DIR)/usr/bin/php-config
|
|
|
|
define PHP_PECL_DBUS_PHPIZE
|
|
(cd $(@D); \
|
|
PHP_AUTOCONF=$(HOST_DIR)/usr/bin/autoconf \
|
|
PHP_AUTOHEADER=$(HOST_DIR)/usr/bin/autoheader \
|
|
$(STAGING_DIR)/usr/bin/phpize)
|
|
endef
|
|
PHP_PECL_DBUS_PRE_CONFIGURE_HOOKS += PHP_PECL_DBUS_PHPIZE
|
|
|
|
$(eval $(autotools-package))
|