33 lines
757 B
Bash
33 lines
757 B
Bash
# Template file for 'php8.1-apcu'
|
|
pkgname=php8.1-apcu
|
|
version=5.1.22
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--with-php-config=/usr/bin/php-config8.1"
|
|
make_check_target=test
|
|
hostmakedepends="autoconf php8.1-devel"
|
|
makedepends="php8.1-devel pcre2-devel"
|
|
depends="php8.1"
|
|
short_desc="In-memory key-value store for PHP"
|
|
maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
|
|
license="PHP-3.01"
|
|
homepage="https://pecl.php.net/package/APCu"
|
|
distfiles="https://pecl.php.net/get/apcu-${version}.tgz"
|
|
checksum=010a0d8fd112e1ed7a52a356191da3696a6b76319423f7b0dfdeaeeafcb41a1e
|
|
|
|
post_extract() {
|
|
mv apcu-$version/* .
|
|
}
|
|
|
|
pre_configure() {
|
|
phpize8.1
|
|
}
|
|
|
|
pre_install() {
|
|
make_install_args="INSTALL_ROOT=$DESTDIR"
|
|
}
|
|
|
|
post_install() {
|
|
rm -r $DESTDIR/usr/include
|
|
}
|