python-cryptography: bump to version 1.7.2
[buildroot-gz.git] / package / php-imagick / php-imagick.mk
blobddcefdaa40e6bf914cabd130cf637bce1e837409
1 ################################################################################
3 # php-imagick
5 ################################################################################
7 PHP_IMAGICK_VERSION = 3.4.3RC1
8 PHP_IMAGICK_SOURCE = imagick-$(PHP_IMAGICK_VERSION).tgz
9 PHP_IMAGICK_SITE = http://pecl.php.net/get
10 PHP_IMAGICK_CONF_OPTS = --with-php-config=$(STAGING_DIR)/usr/bin/php-config \
11 --with-imagick=$(STAGING_DIR)/usr
12 # phpize does the autoconf magic
13 PHP_IMAGICK_DEPENDENCIES = imagemagick php host-autoconf
14 PHP_IMAGICK_LICENSE = PHP
15 PHP_IMAGICK_LICENSE_FILES = LICENSE
17 define PHP_IMAGICK_PHPIZE
18 (cd $(@D); \
19 PHP_AUTOCONF=$(HOST_DIR)/usr/bin/autoconf \
20 PHP_AUTOHEADER=$(HOST_DIR)/usr/bin/autoheader \
21 $(STAGING_DIR)/usr/bin/phpize)
22 endef
24 PHP_IMAGICK_PRE_CONFIGURE_HOOKS += PHP_IMAGICK_PHPIZE
26 $(eval $(autotools-package))