30 lines
740 B
Bash
30 lines
740 B
Bash
|
# Template file for 'php8.0-apcu'
|
||
|
pkgname=php8.0-apcu
|
||
|
version=5.1.21
|
||
|
revision=1
|
||
|
wrksrc="apcu-${version}"
|
||
|
build_style=gnu-configure
|
||
|
configure_args="--with-php-config=/usr/bin/php-config8.0"
|
||
|
make_check_target=test
|
||
|
hostmakedepends="autoconf php8.0-devel"
|
||
|
makedepends="php8.0-devel pcre2-devel"
|
||
|
depends="php8.0"
|
||
|
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=1033530448696ee7cadec85050f6df5135fb1330072ef2a74569392acfecfbc1
|
||
|
|
||
|
pre_configure() {
|
||
|
phpize8.0
|
||
|
}
|
||
|
|
||
|
pre_install() {
|
||
|
make_install_args="INSTALL_ROOT=$DESTDIR"
|
||
|
}
|
||
|
|
||
|
post_install() {
|
||
|
rm -r $DESTDIR/usr/include
|
||
|
}
|