0f9c0bf3d5
Since things are no longer installed in $(HOST_DIR)/usr, the callers should also not refer to it. This is a mechanical change with git grep -l '$(HOST_DIR)/usr/bin' | xargs sed -i 's%$(HOST_DIR)/usr/bin%$(HOST_DIR)/bin%g' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
27 lines
789 B
Makefile
27 lines
789 B
Makefile
################################################################################
|
|
#
|
|
# php-amqp
|
|
#
|
|
################################################################################
|
|
|
|
PHP_AMQP_VERSION = 1.9.0
|
|
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
|
|
PHP_AMQP_LICENSE = PHP-3.01
|
|
PHP_AMQP_LICENSE_FILES = LICENSE
|
|
|
|
define PHP_AMQP_PHPIZE
|
|
(cd $(@D); \
|
|
PHP_AUTOCONF=$(HOST_DIR)/bin/autoconf \
|
|
PHP_AUTOHEADER=$(HOST_DIR)/bin/autoheader \
|
|
$(STAGING_DIR)/usr/bin/phpize)
|
|
endef
|
|
|
|
PHP_AMQP_PRE_CONFIGURE_HOOKS += PHP_AMQP_PHPIZE
|
|
|
|
$(eval $(autotools-package))
|