1 ################################################################################
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
20 PHP_AUTOCONF
=$(HOST_DIR
)/usr
/bin
/autoconf \
21 PHP_AUTOHEADER
=$(HOST_DIR
)/usr
/bin
/autoheader \
22 $(STAGING_DIR
)/usr
/bin
/phpize
)
25 PHP_MEMCACHED_PRE_CONFIGURE_HOOKS
+= PHP_MEMCACHED_PHPIZE
27 $(eval
$(autotools-package
))