opt/php-mysql/Pkgfile
Juergen Daubert e67dc4ac37 [notify] php: update to 8.0.7
new major version, several applications needs probably some
adjustments.

See https://www.php.net/releases/8.0/en.php
2021-06-05 17:02:30 +02:00

29 lines
650 B
Plaintext

# Description: MySQL module for PHP
# URL: https://www.php.net
# Maintainer: Juergen Daubert, jue at crux dot nu
# Depends on: mysql
name=php-mysql
version=8.0.7
release=1
source=(https://php.net/distributions/php-$version.tar.xz)
build () {
cd php-$version
./configure \
--disable-all \
--enable-pdo=shared \
--enable-mysqlnd=shared \
--with-mysqli=shared,mysqlnd \
--with-pdo-mysql=shared,mysqlnd
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
printf 'extension=%s\n' {mysqlnd,mysqli,pdo_mysql}.so \
> $PKG/etc/php/conf.d/mysql.ini
}