updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / bytekit / PKGBUILD
blob40ba54efb7f738ca2fce1b3b210498b9f13eb18f
1 pkgname=bytekit
2 pkgver=0.1.1
3 pkgrel=2
4 pkgdesc="PHP extension that provides a userspace representation of the opcodes generated by the Zend engine compiler"
5 arch=('i686' 'x86_64')
6 url="http://www.bytekit.org/"
7 license=('custom')
8 depends=('php')
9 source=(http://www.bytekit.org/download/bytekit-$pkgver.tgz)
10 md5sums=('83d0a325713201947aec441f30be58d8')
12 build() {
13    cd $startdir/src/$pkgname-$pkgver/
14    phpize
15    ./configure
16    make
17    mkdir -p $startdir/pkg/usr/lib/php/modules/
18    install -D -m644 modules/bytekit.so $startdir/pkg/usr/lib/php/modules/ || return 1
19    mkdir -p $startdir/pkg/etc/php/conf.d/
20    echo extension=bytekit.so > $startdir/pkg/etc/php/conf.d/bytekit.ini