diff options
author | root <root@rshg054.dnsready.net> | 2012-05-01 00:01:20 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-05-01 00:01:20 +0000 |
commit | 752015395fc8b95cc4a86b68189cb747fe9a8499 (patch) | |
tree | 3e64f1f739447b52eab8498bf13bcbc9410cde8e /community-testing/php-memcache/PKGBUILD | |
parent | b7cd4b184f75d3d2b54b356e08f296df3a9afb38 (diff) |
Tue May 1 00:01:20 UTC 2012
Diffstat (limited to 'community-testing/php-memcache/PKGBUILD')
-rw-r--r-- | community-testing/php-memcache/PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/community-testing/php-memcache/PKGBUILD b/community-testing/php-memcache/PKGBUILD new file mode 100644 index 000000000..5e49b5e67 --- /dev/null +++ b/community-testing/php-memcache/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 70081 2012-04-29 06:43:37Z pschmitz $ +# Maintainer: Evangelos Foutras <evangelos@foutrelis.com> + +pkgname=php-memcache +pkgver=3.0.6 +pkgrel=3 +pkgdesc="Memcache module for PHP" +arch=('i686' 'x86_64') +url="http://pecl.php.net/package/memcache" +license=('PHP') +depends=('php') +backup=('etc/php/conf.d/memcache.ini') +install=php-memcache.install +source=(http://pecl.php.net/get/memcache-$pkgver.tgz) +sha256sums=('cf6871f0944ee38022c5f84910f306d83b0f51564bbc08624a215e06d8486618') + +build() { + cd "$srcdir/memcache-$pkgver" + + phpize + ./configure --prefix=/usr + make +} + +package() { + cd "$srcdir/memcache-$pkgver" + + make INSTALL_ROOT="$pkgdir" install + echo ';extension=memcache.so' >memcache.ini + install -Dm644 memcache.ini "$pkgdir/etc/php/conf.d/memcache.ini" +} + +# vim:set ts=2 sw=2 et: |