1 ################################################################################
5 ################################################################################
7 PHP_GNUPG_VERSION = 1.3.6
8 PHP_GNUPG_SOURCE = gnupg-$(PHP_GNUPG_VERSION).tgz
9 PHP_GNUPG_SITE = http://pecl.php.net/get
10 # phpize does the autoconf magic
11 PHP_GNUPG_DEPENDENCIES = php libgpgme host-autoconf host-pkgconf
12 PHP_GNUPG_CONF_OPTS = --with-php-config=$(STAGING_DIR)/usr/bin/php-config \
13 --with-gnupg=$(STAGING_DIR)/usr/include --with-gpg=/usr/bin/gpg
14 PHP_GNUPG_LICENSE = BSD-2c
15 PHP_GNUPG_LICENSE_FILES = LICENSE
17 define PHP_GNUPG_PHPIZE
19 PHP_AUTOCONF=$(HOST_DIR)/usr/bin/autoconf \
20 PHP_AUTOHEADER=$(HOST_DIR)/usr/bin/autoheader \
21 $(STAGING_DIR)/usr/bin/phpize)
24 PHP_GNUPG_PRE_CONFIGURE_HOOKS += PHP_GNUPG_PHPIZE
26 $(eval $(autotools-package))