[arch-commits] Commit in (5 files)

Pierre Schmitz pierre at archlinux.org
Wed May 9 16:55:22 UTC 2012


    Date: Wednesday, May 9, 2012 @ 12:55:21
  Author: pierre
Revision: 158774

adding xcache

Added:
  php-xcache/
  php-xcache/repos/
  php-xcache/trunk/
  php-xcache/trunk/PKGBUILD
  php-xcache/trunk/xcache.ini

------------+
 PKGBUILD   |   40 ++++++++++++++++++++++++++++++++++++++++
 xcache.ini |    3 +++
 2 files changed, 43 insertions(+)

Added: php-xcache/trunk/PKGBUILD
===================================================================
--- php-xcache/trunk/PKGBUILD	                        (rev 0)
+++ php-xcache/trunk/PKGBUILD	2012-05-09 16:55:21 UTC (rev 158774)
@@ -0,0 +1,40 @@
+# $Id: $
+# Maintainer: Pierre Schmitz <pierre at archlinux.de>
+
+pkgname=php-xcache
+pkgver=2.0.0
+pkgrel=3
+arch=('i686' 'x86_64')
+pkgdesc='A PHP opcode cacher'
+url='http://xcache.lighttpd.net/'
+depends=('php')
+license=('custom')
+source=("http://xcache.lighttpd.net/pub/Releases/${pkgver}/xcache-${pkgver}.tar.bz2"
+        'xcache.ini')
+backup=('etc/php/conf.d/xcache.ini')
+md5sums=('0e30cdff075c635e475d70a5c37d0252'
+         'bba7ead3e592a7980aa91a8600973587')
+
+build() {
+	cd $srcdir/xcache-$pkgver
+	phpize
+	./configure --prefix=/usr
+	make
+}
+
+# check() {
+# 	cd $srcdir/xcache-$pkgver
+# 	make test
+# }
+
+package() {
+	cd $srcdir/xcache-$pkgver
+	make INSTALL_ROOT=$pkgdir install
+
+	install -Dm644 $srcdir/xcache.ini $pkgdir/etc/php/conf.d/xcache.ini
+
+	install -dm755 $pkgdir/usr/share/php-xcache/admin
+	install -m644 admin/* $pkgdir/usr/share/php-xcache/admin/
+
+	install -Dm644 COPYING $pkgdir/usr/share/licenses/php-xcache/COPYING
+}

Added: php-xcache/trunk/xcache.ini
===================================================================
--- php-xcache/trunk/xcache.ini	                        (rev 0)
+++ php-xcache/trunk/xcache.ini	2012-05-09 16:55:21 UTC (rev 158774)
@@ -0,0 +1,3 @@
+;zend_extension=/usr/lib/php/modules/xcache.so
+xcache.size=64M
+xcache.var_size=64M




More information about the arch-commits mailing list