security update, see - http://php.net/archive/2019.php#id2019-01-10-1 - http://www.php.net/ChangeLog-7.php#7.2.14
26 lines
686 B
Plaintext
26 lines
686 B
Plaintext
# Description: SQLite3 module for PHP
|
|
# URL: http://www.php.net
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
|
# Depends on: sqlite3
|
|
|
|
name=php-sqlite3
|
|
version=7.2.14
|
|
release=1
|
|
source=(http://php.net/distributions/php-$version.tar.xz)
|
|
|
|
build () {
|
|
cd php-$version
|
|
|
|
./configure --disable-all \
|
|
--enable-pdo=shared \
|
|
--with-sqlite3=shared,/usr \
|
|
--with-pdo-sqlite=shared,/usr
|
|
|
|
make build-modules
|
|
|
|
install -d $PKG/{etc/php/conf.d,usr/lib/php/extensions}
|
|
install -m 755 modules/*sqlite*.so $PKG/usr/lib/php/extensions
|
|
|
|
printf 'extension=%s\n' {pdo_sqlite,sqlite3}.so > $PKG/etc/php/conf.d/sqlite3.ini
|
|
}
|