2008-05-07 19:43:07 +02:00
|
|
|
# Description: MySQL module for PHP
|
|
|
|
# URL: http://www.php.net
|
2008-07-11 09:29:19 +02:00
|
|
|
# Maintainer: Juergen Daubert, juergen dot daubert at t-online dot de
|
2010-03-01 18:03:37 +01:00
|
|
|
# Depends on: mysql
|
2008-05-07 19:43:07 +02:00
|
|
|
|
|
|
|
name=php-mysql
|
2010-08-31 16:49:53 +02:00
|
|
|
version=5.3.3
|
2008-05-07 19:43:07 +02:00
|
|
|
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
|
|
|
|
}
|