[arch-commits] Commit in php-xcache/repos (6 files)

Pierre Schmitz pierre at archlinux.org
Mon Jul 16 07:11:52 UTC 2012


    Date: Monday, July 16, 2012 @ 03:11:51
  Author: pierre
Revision: 163583

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  php-xcache/repos/testing-i686/
  php-xcache/repos/testing-i686/PKGBUILD
    (from rev 163582, php-xcache/trunk/PKGBUILD)
  php-xcache/repos/testing-i686/xcache.ini
    (from rev 163582, php-xcache/trunk/xcache.ini)
  php-xcache/repos/testing-x86_64/
  php-xcache/repos/testing-x86_64/PKGBUILD
    (from rev 163582, php-xcache/trunk/PKGBUILD)
  php-xcache/repos/testing-x86_64/xcache.ini
    (from rev 163582, php-xcache/trunk/xcache.ini)

---------------------------+
 testing-i686/PKGBUILD     |   40 ++++++++++++++++++++++++++++++++++++++++
 testing-i686/xcache.ini   |    3 +++
 testing-x86_64/PKGBUILD   |   40 ++++++++++++++++++++++++++++++++++++++++
 testing-x86_64/xcache.ini |    3 +++
 4 files changed, 86 insertions(+)

Copied: php-xcache/repos/testing-i686/PKGBUILD (from rev 163582, php-xcache/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2012-07-16 07:11:51 UTC (rev 163583)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Pierre Schmitz <pierre at archlinux.de>
+
+pkgname=php-xcache
+pkgver=2.0.1
+pkgrel=1
+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=('d3bc9645dc1b084c1eb45cfc4d8e9ccc'
+         '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
+}

Copied: php-xcache/repos/testing-i686/xcache.ini (from rev 163582, php-xcache/trunk/xcache.ini)
===================================================================
--- testing-i686/xcache.ini	                        (rev 0)
+++ testing-i686/xcache.ini	2012-07-16 07:11:51 UTC (rev 163583)
@@ -0,0 +1,3 @@
+;zend_extension=/usr/lib/php/modules/xcache.so
+xcache.size=64M
+xcache.var_size=64M

Copied: php-xcache/repos/testing-x86_64/PKGBUILD (from rev 163582, php-xcache/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2012-07-16 07:11:51 UTC (rev 163583)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Pierre Schmitz <pierre at archlinux.de>
+
+pkgname=php-xcache
+pkgver=2.0.1
+pkgrel=1
+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=('d3bc9645dc1b084c1eb45cfc4d8e9ccc'
+         '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
+}

Copied: php-xcache/repos/testing-x86_64/xcache.ini (from rev 163582, php-xcache/trunk/xcache.ini)
===================================================================
--- testing-x86_64/xcache.ini	                        (rev 0)
+++ testing-x86_64/xcache.ini	2012-07-16 07:11:51 UTC (rev 163583)
@@ -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