php-gnupg.mk 885 B

12345678910111213141516171819202122232425
  1. ################################################################################
  2. #
  3. # php-gnupg
  4. #
  5. ################################################################################
  6. PHP_GNUPG_VERSION = 30fab6eaf9eb61c65b3b46987442be058cbd7823
  7. PHP_GNUPG_SITE = $(call github,Sean-Der,pecl-encryption-gnupg,$(PHP_GNUPG_VERSION))
  8. # phpize does the autoconf magic
  9. PHP_GNUPG_DEPENDENCIES = php libgpgme host-autoconf host-pkgconf
  10. PHP_GNUPG_CONF_OPTS = --with-php-config=$(STAGING_DIR)/usr/bin/php-config \
  11. --with-gnupg=$(STAGING_DIR)/usr/include --with-gpg=/usr/bin/gpg
  12. PHP_GNUPG_LICENSE = BSD-2-Clause
  13. PHP_GNUPG_LICENSE_FILES = LICENSE
  14. define PHP_GNUPG_PHPIZE
  15. (cd $(@D); \
  16. PHP_AUTOCONF=$(HOST_DIR)/usr/bin/autoconf \
  17. PHP_AUTOHEADER=$(HOST_DIR)/usr/bin/autoheader \
  18. $(STAGING_DIR)/usr/bin/phpize)
  19. endef
  20. PHP_GNUPG_PRE_CONFIGURE_HOOKS += PHP_GNUPG_PHPIZE
  21. $(eval $(autotools-package))