Bump buildroot to version 2017-02
TG-3 #closed
This commit is contained in:
12
bsp/buildroot/package/php-amqp/Config.in
Normal file
12
bsp/buildroot/package/php-amqp/Config.in
Normal file
@@ -0,0 +1,12 @@
|
||||
config BR2_PACKAGE_PHP_AMQP
|
||||
bool "php-amqp"
|
||||
depends on BR2_PACKAGE_PHP
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # rabbitmq-c
|
||||
select BR2_PACKAGE_RABBITMQ_C
|
||||
help
|
||||
Communicate with any AMQP compliant server.
|
||||
|
||||
http://pecl.php.net/package/amqp
|
||||
|
||||
comment "php-amqp needs a toolchain w/ threads"
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
||||
2
bsp/buildroot/package/php-amqp/php-amqp.hash
Normal file
2
bsp/buildroot/package/php-amqp/php-amqp.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 38a92eaef1aa863404170bcd15605f7f78140eeec1ff5be6af65c5b8081e2599 amqp-1.7.1.tgz
|
||||
26
bsp/buildroot/package/php-amqp/php-amqp.mk
Normal file
26
bsp/buildroot/package/php-amqp/php-amqp.mk
Normal file
@@ -0,0 +1,26 @@
|
||||
################################################################################
|
||||
#
|
||||
# php-amqp
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PHP_AMQP_VERSION = 1.7.1
|
||||
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
|
||||
PHP_AMQP_LICENSE_FILES = LICENSE
|
||||
|
||||
define PHP_AMQP_PHPIZE
|
||||
(cd $(@D); \
|
||||
PHP_AUTOCONF=$(HOST_DIR)/usr/bin/autoconf \
|
||||
PHP_AUTOHEADER=$(HOST_DIR)/usr/bin/autoheader \
|
||||
$(STAGING_DIR)/usr/bin/phpize)
|
||||
endef
|
||||
|
||||
PHP_AMQP_PRE_CONFIGURE_HOOKS += PHP_AMQP_PHPIZE
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user