This commit is contained in:
TriForceX
2019-09-25 20:51:37 -03:00
commit 6203ff3e7c
11215 changed files with 428258 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
config BR2_PACKAGE_PHP_AMQP
bool "php-amqp"
depends on BR2_PACKAGE_PHP
depends on BR2_TOOLCHAIN_HAS_THREADS # rabbitmq-c
select BR2_PACKAGE_OPENSSL # rabbitmq-c: amqp_ssl_socket.h
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

View File

@@ -0,0 +1,3 @@
# Locally calculated
sha256 b66b8b8264749cb7a69ae4d09665dad1559b6c4f01430206c8e4187bcd8c782d amqp-1.9.4.tgz
sha256 ecd004e9ae3fcf54896b562d5e8008e36041f2620076effd58e5f4187299cee8 LICENSE

View File

@@ -0,0 +1,26 @@
################################################################################
#
# php-amqp
#
################################################################################
PHP_AMQP_VERSION = 1.9.4
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))