blob: 7e574c98c7b78cd6ea3399a15523f1db181c4ef2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# $Id: PKGBUILD 45116 2011-04-16 15:57:12Z foutrelis $
# Maintainer: Evangelos Foutras <foutrelis@gmail.com>
pkgname=php-memcached
pkgver=1.0.2
pkgrel=4
pkgdesc="PHP extension for interfacing with memcached via libmemcached library"
arch=('i686' 'x86_64' 'mips64el')
url="http://pecl.php.net/package/memcached"
license=('PHP')
depends=('php' 'libmemcached')
backup=('etc/php/conf.d/memcached.ini')
source=(http://pecl.php.net/get/memcached-$pkgver.tgz)
md5sums=('b91f815ad59086d0c3564cce022b5c4f')
build() {
cd "$srcdir/memcached-$pkgver"
phpize
./configure --prefix=/usr
make
}
package() {
cd "$srcdir/memcached-$pkgver"
make INSTALL_ROOT="$pkgdir" install
echo ';extension=memcached.so' >memcached.ini
install -Dm644 memcached.ini "$pkgdir/etc/php/conf.d/memcached.ini"
}
# vim:set ts=2 sw=2 et:
|