# Contributor: Carlo Landmeter # Maintainer: Carlo Landmeter pkgname=php-apc pkgver=3.1.5 _realver=3.1.3p1 pkgrel=0 pkgdesc="Alternative PHP Cache" url="http://pecl.php.net/package/APC" license="PHP" depends="php" makedepends="php-dev autoconf pcre-dev" subpackages="" source="http://pecl.php.net/get/APC-${_realver}.tgz apc.ini" build() { cd "$srcdir/APC-${_realver}" phpize || return 1 ./configure --enable-apc \ --disable-apc-mmap \ --with-php-config=/usr/bin/php-config make || return 1 } package() { cd "$srcdir/APC-${_realver}" make INSTALL_ROOT=$pkgdir install || return 1 install -D -m644 "$srcdir"/apc.ini "$pkgdir"/etc/php/conf.d/apc.ini } md5sums="941cf59c3f8042c1d6961b7afb1002b9 APC-3.1.3p1.tgz 1be423cbc197a302abd50cfd5834258b apc.ini"