1 ################################################################################
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
19 PHP_AUTOCONF
=$(HOST_DIR
)/usr
/bin
/autoconf \
20 PHP_AUTOHEADER
=$(HOST_DIR
)/usr
/bin
/autoheader \
21 $(STAGING_DIR
)/usr
/bin
/phpize
)
24 PHP_AMQP_PRE_CONFIGURE_HOOKS
+= PHP_AMQP_PHPIZE
26 $(eval
$(autotools-package
))