blob: ea88a9ec98f54a22a793bf00a9f43a74377f99ab (
plain)
1 # Description: BC Math module for PHP
2 # URL: http://www.php.net
3 # Maintainer: Mikhail Kolesnik, mike at openbunker dot org
4 # Depends on:
5
6 name=php-bcmath
7 version=5.3.5
8 release=1
9 source=(http://www.php.net/distributions/php-$version.tar.bz2)
10
11 build() {
12 cd php-$version
13
14 ./configure --disable-all \
15 --enable-bcmath=shared,/usr
16 make build-modules
17
18 install -d $PKG/{etc/php/conf.d,usr/lib/php/extensions}
19 install -m 755 modules/bcmath.so $PKG/usr/lib/php/extensions
20 echo "extension=bcmath.so" > $PKG/etc/php/conf.d/bcmath.ini
21 }
|