# Contributor: Valery Kartel # Maintainer: Natanael Copa pkgname=php-memcache _pkgreal=memcache pkgver=3.0.8 _pkgver=${pkgver/_rc/RC} pkgrel=3 pkgdesc="PHP extension memcache" url="http://pecl.php.net/package/$_pkgreal" arch="all" license="PHP" depends= pecldepends="php-dev autoconf" makedepends="$pecldepends zlib-dev" install="" subpackages="" source="http://pecl.php.net/get/$_pkgreal-$_pkgver.tgz" _builddir="$srcdir"/$_pkgreal-$_pkgver build() { cd "$_builddir" phpize || return 1 ./configure --prefix=/usr || return 1 make || return 1 } package() { cd "$_builddir" make INSTALL_ROOT="$pkgdir"/ install || return 1 install -d "$pkgdir"/etc/php/conf.d || return 1 echo "extension=$_pkgreal.so" > "$pkgdir"/etc/php/conf.d/$_pkgreal.ini } md5sums="24505e9b263d2c77f8ae5e9b4725e7d1 memcache-3.0.8.tgz" sha256sums="2cae5b423ffbfd33a259829849f6000d4db018debe3e29ecf3056f06642e8311 memcache-3.0.8.tgz" sha512sums="916c6b21ab7c1021128626c0df35ef0b83cb76b6115fe7c45b003ca4f78ad9484bf3c998bc7ebdee19f84349ff1e56759f74e75aee5bc70b1de9a03c45a99bc3 memcache-3.0.8.tgz"