php-mysql: new port

This commit is contained in:
Juergen Daubert 2008-05-07 19:43:07 +02:00
parent 62dabacfc0
commit a167fc9392
3 changed files with 30 additions and 0 deletions

9
php-mysql/.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/mysql.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/mysql.so

1
php-mysql/.md5sum Normal file
View File

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

20
php-mysql/Pkgfile Normal file
View File

@ -0,0 +1,20 @@
# Description: MySQL module for PHP
# URL: http://www.php.net
# Maintainer: Jürgen Daubert, juergen dot daubert at t-online dot de
# Depends on: mysql zlib
name=php-mysql
version=5.2.6
release=1
source=(http://www.php.net/distributions/php-$version.tar.bz2)
build () {
cd php-$version
./configure --disable-all --with-mysql=shared,/usr
make build-modules
install -d $PKG/{etc/php/conf.d,usr/lib/php/extensions}
install -m 755 modules/mysql.so $PKG/usr/lib/php/extensions
echo "extension=mysql.so" > $PKG/etc/php/conf.d/mysql.ini
}