blob: b09d8e499c24689a5726a4d4a4f43f794a964ac4 (
plain)
1 # Description: A driver that implements the PDO interface to MySQL
2 # URL: http://www.php.net
3 # Maintainer: Mikhail Kolesnik, mike at openbunker dot org
4 # Depends on: mysql
5
6 name=php-pdo-mysql
7 version=5.2.11
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-pdo=shared \
16 --with-pdo-mysql=shared,/usr
17 make build-modules
18
19 install -d $PKG/{etc/php/conf.d,usr/lib/php/extensions}
20 install -m 755 modules/pdo_mysql.so $PKG/usr/lib/php/extensions
21 echo "extension=pdo_mysql.so" > $PKG/etc/php/conf.d/pdo_mysql.ini
22 }
|