php-mysql: new port
This commit is contained in:
parent
62dabacfc0
commit
a167fc9392
9
php-mysql/.footprint
Normal file
9
php-mysql/.footprint
Normal 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
1
php-mysql/.md5sum
Normal file
@ -0,0 +1 @@
|
||||
7380ffecebd95c6edb317ef861229ebd php-5.2.6.tar.bz2
|
20
php-mysql/Pkgfile
Normal file
20
php-mysql/Pkgfile
Normal 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
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user