security update, see - http://php.net/archive/2019.php#id2019-01-10-1 - http://www.php.net/ChangeLog-7.php#7.2.14
23 lines
595 B
Plaintext
23 lines
595 B
Plaintext
# Description: GD module for PHP
|
|
# URL: http://www.php.net
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
|
# Packager: Alan Mizrahi, alan at mizrahi dot com dot ve
|
|
# Depends on: libgd
|
|
|
|
name=php-gd
|
|
version=7.2.14
|
|
release=1
|
|
source=(http://www.php.net/distributions/php-$version.tar.xz)
|
|
|
|
build() {
|
|
cd php-$version
|
|
|
|
./configure --disable-all --with-gd=shared,/usr
|
|
make build-modules
|
|
|
|
install -d $PKG/{etc/php/conf.d,usr/lib/php/extensions}
|
|
install -m 755 modules/gd.so $PKG/usr/lib/php/extensions/
|
|
|
|
printf 'extension=%s\n' gd.so > $PKG/etc/php/conf.d/gd.ini
|
|
}
|