diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-11-13 13:10:54 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-11-13 13:10:54 +0000 |
commit | fc628669e5452318f3ea52885d31b03173fa79a5 (patch) | |
tree | 40bd9e6cd4ea3a7346c9700a2bf86c6208d8cb33 | |
parent | 627105570f87f6983efd9850c0db892401f12d5c (diff) | |
download | aports-fc628669e5452318f3ea52885d31b03173fa79a5.tar.bz2 aports-fc628669e5452318f3ea52885d31b03173fa79a5.tar.xz |
main/php-apc: upgrade to 3.1.3p1
fixes #196
-rw-r--r-- | main/php-apc/APKBUILD | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/main/php-apc/APKBUILD b/main/php-apc/APKBUILD index 67a225282d..8e1fc5b1a1 100644 --- a/main/php-apc/APKBUILD +++ b/main/php-apc/APKBUILD @@ -1,29 +1,32 @@ # Contributor: Carlo Landmeter <clandmeter@gmail.com> # Maintainer: Carlo Landmeter <clandmeter@gmail.com> pkgname=php-apc -pkgver=3.1.2 -pkgrel=1 +pkgver=3.1.3_p1 +_realver=3.1.3p1 +pkgrel=0 pkgdesc="Alternative PHP Cache" url="http://pecl.php.net/package/APC" license="PHP" depends="php" makedepends="php-dev autoconf pcre-dev" subpackages="" -source="http://pecl.php.net/get/APC-${pkgver}.tgz +source="http://pecl.php.net/get/APC-${_realver}.tgz apc.ini" build() { - cd "$srcdir/APC-${pkgver}" - + cd "$srcdir/APC-${_realver}" phpize || return 1 ./configure --enable-apc \ - --disable-apc-mmap \ - --with-php-config=/usr/bin/php-config - make || return 1 + --disable-apc-mmap \ + --with-php-config=/usr/bin/php-config + make || return 1 +} + +package() { + cd "$srcdir/APC-${_realver}" make INSTALL_ROOT=$pkgdir install || return 1 install -D -m644 "$srcdir"/apc.ini "$pkgdir"/etc/php/conf.d/apc.ini - } -md5sums="0a18cf164b3e044e27edd4c1d8c3145c APC-3.1.2.tgz +md5sums="941cf59c3f8042c1d6961b7afb1002b9 APC-3.1.3p1.tgz 1be423cbc197a302abd50cfd5834258b apc.ini" |