mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
26 lines
850 B
Bash
26 lines
850 B
Bash
# $Id: PKGBUILD 49652 2009-08-14 11:52:53Z pierre $
|
|
# Maintainer: Pierre Schmitz <pierre@archlinux.de>
|
|
|
|
pkgname=php-apc
|
|
pkgver=3.1.3p1
|
|
pkgrel=1
|
|
arch=('i686' 'x86_64')
|
|
pkgdesc='A free, open, and robust framework for caching and optimizing PHP intermediate code'
|
|
url='http://pecl.php.net/package/APC'
|
|
depends=('php>=5.3.0')
|
|
license="PHP"
|
|
source=("http://pecl.php.net/get/APC-${pkgver}.tgz")
|
|
backup=('etc/php/conf.d/apc.ini')
|
|
md5sums=('941cf59c3f8042c1d6961b7afb1002b9')
|
|
|
|
build() {
|
|
cd $srcdir/APC-$pkgver
|
|
phpize || return 1
|
|
./configure --prefix=/usr || return 1
|
|
make || return 1
|
|
make INSTALL_ROOT=$pkgdir install || return 1
|
|
echo ';extension=apc.so' > apc.ini
|
|
install -D -m644 apc.ini $pkgdir/etc/php/conf.d/apc.ini
|
|
install -D -m644 apc.php $pkgdir/usr/share/php-apc/apc.php
|
|
install -D -m644 INSTALL $pkgdir/usr/share/doc/php-apc/install.txt
|
|
}
|