diff options
author | root <root@rshg047.dnsready.net> | 2011-05-04 12:58:32 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-05-04 12:58:32 +0000 |
commit | 9780d07c31b22125ad7ecba4e281ff41194f95be (patch) | |
tree | 2336cb3e1bd98fe4b7631eb175c25f90a243815a /testing/php-apc/PKGBUILD | |
parent | ddb2605f6bccbdb398f3937ff21e4688915a450d (diff) |
Wed May 4 12:58:31 UTC 2011
Diffstat (limited to 'testing/php-apc/PKGBUILD')
-rw-r--r-- | testing/php-apc/PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/testing/php-apc/PKGBUILD b/testing/php-apc/PKGBUILD new file mode 100644 index 000000000..b13f84bc4 --- /dev/null +++ b/testing/php-apc/PKGBUILD @@ -0,0 +1,30 @@ +# $Id: PKGBUILD 122195 2011-05-02 19:06:00Z pierre $ +# Maintainer: Pierre Schmitz <pierre@archlinux.de> + +pkgname=php-apc +pkgver=3.1.8 +pkgrel=1 +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=('bb1147933a61aa70ceffe53cc6f2920f') + +build() { + cd $srcdir/APC-$pkgver + phpize + ./configure --prefix=/usr + make +} + +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 +} |