libasplib: add url to gcc bug report
[buildroot-gz.git] / package / php-memcached / php-memcached.mk
blobea241b26567790c07a8f89f4fa3a6c0d99590d15
1 ################################################################################
3 # php-memcached
5 ################################################################################
7 PHP_MEMCACHED_VERSION = 6ee96cad7be5caa1f13a1f3e5a4d5f900b9c04ce
8 PHP_MEMCACHED_SITE = $(call github,php-memcached-dev,php-memcached,$(PHP_MEMCACHED_VERSION))
9 PHP_MEMCACHED_CONF_OPTS = --with-php-config=$(STAGING_DIR)/usr/bin/php-config \
10 --disable-memcached-sasl \
11 --with-libmemcached-dir=$(STAGING_DIR)/usr \
12 --with-zlib-dir=$(STAGING_DIR)/usr
13 # phpize does the autoconf magic
14 PHP_MEMCACHED_DEPENDENCIES = libmemcached php zlib host-autoconf host-pkgconf
15 PHP_MEMCACHED_LICENSE = MIT
16 PHP_MEMCACHED_LICENSE_FILES = LICENSE
18 define PHP_MEMCACHED_PHPIZE
19 (cd $(@D); \
20 PHP_AUTOCONF=$(HOST_DIR)/usr/bin/autoconf \
21 PHP_AUTOHEADER=$(HOST_DIR)/usr/bin/autoheader \
22 $(STAGING_DIR)/usr/bin/phpize)
23 endef
25 PHP_MEMCACHED_PRE_CONFIGURE_HOOKS += PHP_MEMCACHED_PHPIZE
27 $(eval $(autotools-package))