diff options
author | root <root@rshg054.dnsready.net> | 2012-04-28 00:01:35 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-04-28 00:01:35 +0000 |
commit | 00f77ef3b2b7856520daba393370f67b773c2184 (patch) | |
tree | ac5b63574a95d0d851e012957254f7456ced564f /staging/php-apc | |
parent | 5233daa5825f00ccf0722ef9733ea6b3bbd44bc8 (diff) |
Sat Apr 28 00:01:35 UTC 2012
Diffstat (limited to 'staging/php-apc')
-rw-r--r-- | staging/php-apc/PKGBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/staging/php-apc/PKGBUILD b/staging/php-apc/PKGBUILD new file mode 100644 index 000000000..58ef12405 --- /dev/null +++ b/staging/php-apc/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 157245 2012-04-26 14:09:33Z pierre $ +# Maintainer: Pierre Schmitz <pierre@archlinux.de> + +pkgname=php-apc +pkgver=3.1.10 +pkgrel=2 +arch=('i686' 'x86_64') +pkgdesc='A free, open, and robust framework for caching and optimizing PHP intermediate code' +url='http://pecl.php.net/package/APC' +depends=('php') +license=('PHP') +source=("http://pecl.php.net/get/APC-${pkgver}.tgz") +backup=('etc/php/conf.d/apc.ini') +md5sums=('f4a6b91903d6ba9dce89fc87bb6f26c9') + +build() { + cd $srcdir/APC-$pkgver + phpize + ./configure --prefix=/usr + make +} + +# check() { +# cd $srcdir/APC-$pkgver +# make test +# } + +package() { + cd $srcdir/APC-$pkgver + make INSTALL_ROOT=$pkgdir install + echo ';extension=apc.so' > apc.ini + install -D -m644 apc.ini $pkgdir/etc/php/conf.d/apc.ini + install -D -m644 apc.php $pkgdir/usr/share/php-apc/apc.php + install -D -m644 INSTALL $pkgdir/usr/share/doc/php-apc/install.txt +} |