package/opencv: fix build failure on x86
[buildroot-gz.git] / package / php-zmq / php-zmq.mk
blob88c962d8209cde38fcb3f72c62df1c603dc4678f
1 ################################################################################
3 # php-zmq
5 ################################################################################
7 PHP_ZMQ_VERSION = 1.1.2
8 PHP_ZMQ_SOURCE = zmq-$(PHP_ZMQ_VERSION).tgz
9 # pecl.php.net returns html with db connect failed
10 PHP_ZMQ_SITE = http://sources.buildroot.net
11 # phpize does the autoconf magic
12 PHP_ZMQ_DEPENDENCIES = php zeromq host-autoconf host-pkgconf
13 PHP_ZMQ_CONF_OPTS = --with-php-config=$(STAGING_DIR)/usr/bin/php-config
14 PHP_ZMQ_LICENSE = BSD-3c
15 PHP_ZMQ_LICENSE_FILES = LICENSE
17 define PHP_ZMQ_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_ZMQ_PRE_CONFIGURE_HOOKS += PHP_ZMQ_PHPIZE
26 $(eval $(autotools-package))