summaryrefslogtreecommitdiff
path: root/testing/php-apc/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-05-16 22:43:10 +0000
committerroot <root@rshg047.dnsready.net>2011-05-16 22:43:10 +0000
commit2f0d12506e7145c0fe4c056e4fbcda1e724dda95 (patch)
tree8239b0d9ccc81417341ef1798c9bb8a99edce48d /testing/php-apc/PKGBUILD
parenta45aa8f19ea32f45610dafabfc06c8b7d1ed5cfe (diff)
Mon May 16 22:43:24 UTC 2011
Diffstat (limited to 'testing/php-apc/PKGBUILD')
-rw-r--r--testing/php-apc/PKGBUILD30
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..06eb95726
--- /dev/null
+++ b/testing/php-apc/PKGBUILD
@@ -0,0 +1,30 @@
+# $Id: PKGBUILD 123989 2011-05-15 16:00:20Z pierre $
+# Maintainer: Pierre Schmitz <pierre@archlinux.de>
+
+pkgname=php-apc
+pkgver=3.1.9
+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=('a2cf7fbf6f3a87f190d897a53260ddaa')
+
+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
+}