python-dataproperty: bump version to 0.17.0
[buildroot-gz.git] / package / php-amqp / php-amqp.mk
blobd3ffe1600db7c2b1064588ab10523fdff2e31221
1 ################################################################################
3 # php-amqp
5 ################################################################################
7 PHP_AMQP_VERSION = 1.7.1
8 PHP_AMQP_SOURCE = amqp-$(PHP_AMQP_VERSION).tgz
9 PHP_AMQP_SITE = https://pecl.php.net/get
10 PHP_AMQP_CONF_OPTS = --with-php-config=$(STAGING_DIR)/usr/bin/php-config \
11 --with-amqp=$(STAGING_DIR)/usr
12 # phpize does the autoconf magic
13 PHP_AMQP_DEPENDENCIES = rabbitmq-c php host-autoconf
14 PHP_AMQP_LICENSE = PHP
15 PHP_AMQP_LICENSE_FILES = LICENSE
17 define PHP_AMQP_PHPIZE
18 (cd $(@D); \
19 PHP_AUTOCONF=$(HOST_DIR)/usr/bin/autoconf \
20 PHP_AUTOHEADER=$(HOST_DIR)/usr/bin/autoheader \
21 $(STAGING_DIR)/usr/bin/phpize)
22 endef
24 PHP_AMQP_PRE_CONFIGURE_HOOKS += PHP_AMQP_PHPIZE
26 $(eval $(autotools-package))