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:
10
package/php-gnupg/Config.in
Normal file
10
package/php-gnupg/Config.in
Normal file
@@ -0,0 +1,10 @@
|
||||
config BR2_PACKAGE_PHP_GNUPG
|
||||
bool "php-gnupg"
|
||||
depends on BR2_PACKAGE_PHP
|
||||
depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # ligpgme
|
||||
depends on BR2_USE_MMU # libassuan
|
||||
select BR2_PACKAGE_LIBGPGME
|
||||
help
|
||||
PHP wrapper around the gpgme library.
|
||||
|
||||
http://pecl.php.net/package/gnupg
|
||||
2
package/php-gnupg/php-gnupg.hash
Normal file
2
package/php-gnupg/php-gnupg.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 35e16bee11345a7d6bf57bea3cadf45e371ad1ed4e0218b0c06f6f637e4e1772 gnupg-1.4.0.tgz
|
||||
26
package/php-gnupg/php-gnupg.mk
Normal file
26
package/php-gnupg/php-gnupg.mk
Normal file
@@ -0,0 +1,26 @@
|
||||
################################################################################
|
||||
#
|
||||
# php-gnupg
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PHP_GNUPG_VERSION = 1.4.0
|
||||
PHP_GNUPG_SOURCE = gnupg-$(PHP_GNUPG_VERSION).tgz
|
||||
PHP_GNUPG_SITE = https://pecl.php.net/get
|
||||
# phpize does the autoconf magic
|
||||
PHP_GNUPG_DEPENDENCIES = php libgpgme host-autoconf host-pkgconf
|
||||
PHP_GNUPG_CONF_OPTS = --with-php-config=$(STAGING_DIR)/usr/bin/php-config \
|
||||
--with-gnupg=$(STAGING_DIR)/usr/include --with-gpg=/usr/bin/gpg
|
||||
PHP_GNUPG_LICENSE = BSD-2-Clause
|
||||
PHP_GNUPG_LICENSE_FILES = LICENSE
|
||||
|
||||
define PHP_GNUPG_PHPIZE
|
||||
(cd $(@D); \
|
||||
PHP_AUTOCONF=$(HOST_DIR)/bin/autoconf \
|
||||
PHP_AUTOHEADER=$(HOST_DIR)/bin/autoheader \
|
||||
$(STAGING_DIR)/usr/bin/phpize)
|
||||
endef
|
||||
|
||||
PHP_GNUPG_PRE_CONFIGURE_HOOKS += PHP_GNUPG_PHPIZE
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user