1
0
forked from ports/contrib

php-bcmath: initial import

This commit is contained in:
Mikhail Kolesnik 2008-05-08 15:45:06 +03:00
parent ca4757ca8e
commit ee64703296
3 changed files with 31 additions and 0 deletions

9
php-bcmath/.footprint Normal file
View File

@ -0,0 +1,9 @@
drwxr-xr-x root/root etc/
drwxr-xr-x root/root etc/php/
drwxr-xr-x root/root etc/php/conf.d/
-rw-r--r-- root/root etc/php/conf.d/bcmath.ini
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/lib/
drwxr-xr-x root/root usr/lib/php/
drwxr-xr-x root/root usr/lib/php/extensions/
-rwxr-xr-x root/root usr/lib/php/extensions/bcmath.so

1
php-bcmath/.md5sum Normal file
View File

@ -0,0 +1 @@
7380ffecebd95c6edb317ef861229ebd php-5.2.6.tar.bz2

21
php-bcmath/Pkgfile Normal file
View File

@ -0,0 +1,21 @@
# Description: BC Math module for PHP
# URL: http://www.php.net
# Maintainer: Mikhail Kolesnik, mike at openbunker dot org
# Depends on:
name=php-bcmath
version=5.2.6
release=1
source=(http://www.php.net/distributions/php-$version.tar.bz2)
build() {
cd php-$version
./configure --disable-all \
--enable-bcmath=shared,/usr
make build-modules
install -d $PKG/{etc/php/conf.d,usr/lib/php/extensions}
install -m 755 modules/bcmath.so $PKG/usr/lib/php/extensions
echo "extension=bcmath.so" > $PKG/etc/php/conf.d/bcmath.ini
}