2016-10-11 22:44:49 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# php-amqp
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2018-06-04 22:57:51 +02:00
|
|
|
PHP_AMQP_VERSION = 1.9.3
|
2016-10-11 22:44:49 +02:00
|
|
|
PHP_AMQP_SOURCE = amqp-$(PHP_AMQP_VERSION).tgz
|
|
|
|
PHP_AMQP_SITE = https://pecl.php.net/get
|
|
|
|
PHP_AMQP_CONF_OPTS = --with-php-config=$(STAGING_DIR)/usr/bin/php-config \
|
|
|
|
--with-amqp=$(STAGING_DIR)/usr
|
|
|
|
# phpize does the autoconf magic
|
|
|
|
PHP_AMQP_DEPENDENCIES = rabbitmq-c php host-autoconf
|
2017-04-02 20:43:02 +02:00
|
|
|
PHP_AMQP_LICENSE = PHP-3.01
|
2016-10-11 22:44:49 +02:00
|
|
|
PHP_AMQP_LICENSE_FILES = LICENSE
|
|
|
|
|
|
|
|
define PHP_AMQP_PHPIZE
|
|
|
|
(cd $(@D); \
|
2017-07-05 13:14:19 +02:00
|
|
|
PHP_AUTOCONF=$(HOST_DIR)/bin/autoconf \
|
|
|
|
PHP_AUTOHEADER=$(HOST_DIR)/bin/autoheader \
|
2016-10-11 22:44:49 +02:00
|
|
|
$(STAGING_DIR)/usr/bin/phpize)
|
|
|
|
endef
|
|
|
|
|
|
|
|
PHP_AMQP_PRE_CONFIGURE_HOOKS += PHP_AMQP_PHPIZE
|
|
|
|
|
|
|
|
$(eval $(autotools-package))
|