mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@db180c0
This commit is contained in:
13
package/php-amqp/Config.in
Normal file
13
package/php-amqp/Config.in
Normal 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
|
||||
3
package/php-amqp/php-amqp.hash
Normal file
3
package/php-amqp/php-amqp.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 b66b8b8264749cb7a69ae4d09665dad1559b6c4f01430206c8e4187bcd8c782d amqp-1.9.4.tgz
|
||||
sha256 ecd004e9ae3fcf54896b562d5e8008e36041f2620076effd58e5f4187299cee8 LICENSE
|
||||
26
package/php-amqp/php-amqp.mk
Normal file
26
package/php-amqp/php-amqp.mk
Normal 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))
|
||||
Reference in New Issue
Block a user