blob: 8d97fbab2e0f5e8eb01a5460a48b6a488d7feb2a (
plain)
1 # Description: Igbinary is a drop in replacement for the standard php serializer
2 # URL: https://github.com/igbinary/igbinary
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on: php
5
6 name=php-igbinary
7 version=3.1.3
8 release=1
9 source=(https://github.com/igbinary/igbinary/archive/$version/$name-$version.tar.gz)
10
11 build() {
12 cd igbinary-$version
13 sed 's/extension/;extension/g' -i igbinary.php.ini
14 phpize
15 ./configure --prefix=/usr \
16 --enable-igbinary
17 make
18 make INSTALL_ROOT=$PKG install
19 install -vDm 644 igbinary.php.ini $PKG/etc/php/conf.d/igbinary.ini
20 }
|