blob: 66af3b8461019abb33267c77f2d56f4555ad37cc (
plain)
1 # Description: MySQL module for PHP
2 # URL: http://www.php.net
3 # Maintainer: Juergen Daubert, jue at crux dot nu
4 # Depends on: mysql
5
6 name=php-mysql
7 version=7.3.6
8 release=1
9 source=(http://php.net/distributions/php-$version.tar.xz)
10
11 build () {
12 cd php-$version
13
14 ./configure --disable-all \
15 --enable-pdo=shared \
16 --enable-mysqlnd=shared \
17 --with-mysqli=shared,mysqlnd \
18 --with-pdo-mysql=shared,mysqlnd
19
20 make build-modules
21
22 install -d $PKG/{etc/php/conf.d,usr/lib/php/extensions}
23 install -m 755 modules/*mysql*.so $PKG/usr/lib/php/extensions
24
25 printf 'extension=%s\n' {mysqlnd,mysqli,pdo_mysql}.so \
26 > $PKG/etc/php/conf.d/mysql.ini
27 }
|