perl-cross: bump to version 1.1.4
[buildroot-gz.git] / package / php-zmq / php-zmq.mk
blob2730996d4c0d84a7e090745bfd8d6c19a61a1ba9
1 ################################################################################
3 # php-zmq
5 ################################################################################
7 PHP_ZMQ_VERSION = 1.1.3
8 PHP_ZMQ_SOURCE = zmq-$(PHP_ZMQ_VERSION).tgz
9 PHP_ZMQ_SITE = https://pecl.php.net/get
10 # phpize does the autoconf magic
11 PHP_ZMQ_DEPENDENCIES = php zeromq host-autoconf host-pkgconf
12 PHP_ZMQ_CONF_OPTS = --with-php-config=$(STAGING_DIR)/usr/bin/php-config
13 PHP_ZMQ_LICENSE = BSD-3c
14 PHP_ZMQ_LICENSE_FILES = LICENSE
16 define PHP_ZMQ_PHPIZE
17 (cd $(@D); \
18 PHP_AUTOCONF=$(HOST_DIR)/usr/bin/autoconf \
19 PHP_AUTOHEADER=$(HOST_DIR)/usr/bin/autoheader \
20 $(STAGING_DIR)/usr/bin/phpize)
21 endef
23 PHP_ZMQ_PRE_CONFIGURE_HOOKS += PHP_ZMQ_PHPIZE
25 $(eval $(autotools-package))