blob: 050e885a503e155a3582cbf50710df413b969388 (
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
36
37
|
# Contributor: Valery Kartel <valery.kartel@gmail.com>
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname=php-apcu
_pkgreal=apcu
pkgver=4.0.7
_pkgver=${pkgver/_rc/RC}
pkgrel=1
pkgdesc="PHP extension APC User Cache"
url="http://pecl.php.net/package/$_pkgreal"
arch="all"
license="PHP"
depends=
pecldepends="php-dev autoconf"
makedepends="$pecldepends pcre-dev"
install=""
subpackages=""
source="http://pecl.php.net/get/$_pkgreal-$_pkgver.tgz"
_builddir="$srcdir"/$_pkgreal-$_pkgver
build() {
cd "$_builddir"
phpize || return 1
./configure --prefix=/usr || return 1
make || return 1
}
package() {
cd "$_builddir"
make INSTALL_ROOT="$pkgdir"/ install || return 1
install -d "$pkgdir"/etc/php/conf.d || return 1
echo "extension=$_pkgreal.so" > "$pkgdir"/etc/php/conf.d/$_pkgreal.ini
}
md5sums="9feb03d3e5217242a39244964f098b52 apcu-4.0.7.tgz"
sha256sums="178a731ee3435b451f1144bc4a63c9d70d4909a2c434e17c6e07db554df90bd6 apcu-4.0.7.tgz"
sha512sums="50db51358c9268cc5fdd0d48fb444be9e9356f1690bc1ae021a9618c8819ce8873bf4502fe87a10467ffda2ef38267ccca2af55152b064400c69a8da92b7e98b apcu-4.0.7.tgz"
|