milis/talimatname/genel/p/php-gd/talimat

23 lines
502 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: php-gd kütüphanesi
2017-07-07 15:00:59 +02:00
# URL: http://www.php.net
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler: libgd
2017-07-07 15:00:59 +02:00
name=php-gd
version=5.6.31
release=1
source=(http://www.php.net/distributions/php-$version.tar.xz)
build() {
cd php-$version
./configure --disable-all \
--enable-gd-native-ttf \
--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
echo "extension=gd.so" > $PKG/etc/php/conf.d/gd.ini
}