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

24 lines
514 B
Plaintext
Raw Normal View History

2018-06-09 00:06:58 +02:00
# Tanım: php-gd kütüphanesi
# URL: http://www.php.net
# Paketçi: milisarge
# Gerekler: libgd
2018-07-31 09:57:54 +02:00
# Grup: kütüphane
2018-06-09 00:06:58 +02:00
isim=php-gd
surum=5.6.31
devir=1
kaynak=(http://www.php.net/distributions/php-$surum.tar.xz)
derle() {
cd php-$surum
./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
}