kumquat-buildroot/package/php-apcu/php-apcu.mk
Herve Codina 8ddeeffa18 package/php-apcu: new package
APCu is an in-memory key-value store for PHP.
Keys are of type string and values can be any PHP variables.
APCu only supports userland caching of variables

https://pecl.php.net/package/APCU

Based on initial work from Nicolas Carrier <nicolas.carrier@orolia.com>

Signed-off-by: Herve Codina <herve.codina@bootlin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2021-12-17 22:46:55 +01:00

26 lines
722 B
Makefile

################################################################################
#
# php-apcu
#
################################################################################
PHP_APCU_VERSION = 5.1.20
PHP_APCU_SITE = http://pecl.php.net/get
PHP_APCU_SOURCE = apcu-$(PHP_APCU_VERSION).tgz
PHP_APCU_LICENSE = PHP-3.01
PHP_APCU_LICENSE_FILES = LICENSE
PHP_APCU_DEPENDENCIES = php host-autoconf
PHP_APCU_CONF_OPTS = \
--with-php-config=$(STAGING_DIR)/usr/bin/php-config
define PHP_APCU_PHPIZE
(cd $(@D); \
PHP_AUTOCONF=$(HOST_DIR)/usr/bin/autoconf \
PHP_AUTOHEADER=$(HOST_DIR)/usr/bin/autoheader \
$(STAGING_DIR)/usr/bin/phpize)
endef
PHP_APCU_PRE_CONFIGURE_HOOKS += PHP_APCU_PHPIZE
$(eval $(autotools-package))