blob: de1442b5dc283ed7e29a6f19cd072e71057e3688 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname=php7-apcu
_pkgreal=apcu
# release 5 is php7+
pkgver=5.1.7
pkgrel=0
pkgdesc="PHP extension APC User Cache"
url="http://pecl.php.net/package/$_pkgreal"
arch="all"
license="PHP"
depends=""
makedepends="pcre-dev php7-dev autoconf"
source="http://pecl.php.net/get/$_pkgreal-$pkgver.tgz"
builddir="$srcdir/$_pkgreal-$pkgver"
build() {
cd "$builddir"
phpize7 || return 1
./configure --prefix=/usr --with-php-config=php-config7 || return 1
make || return 1
}
package() {
cd "$builddir"
make INSTALL_ROOT="$pkgdir"/ install || return 1
install -d "$pkgdir"/etc/php7/conf.d || return 1
echo "extension=$_pkgreal.so" > "$pkgdir"/etc/php7/conf.d/$_pkgreal.ini
}
md5sums="7803b58fab6ecfe847ef5b9be6825dea apcu-5.1.7.tgz"
sha256sums="e71e12985f52d4f4311beedf54540a16b76cf7d2d8b8c1028ec4491d4c0f962c apcu-5.1.7.tgz"
sha512sums="104e5b1b5dbf1febf4f147775f621d867a5ca60a1ddfe56af5f42f148f7913aa54a31c96baf35c1fd9b3278355d6f14289ffda1601b4a2579430d585f79753b3 apcu-5.1.7.tgz"
|