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

23 lines
502 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: php-gd kütüphanesi
# URL: http://www.php.net
# Paketçi: milisarge
# Gerekler: libgd
name=php-gd
version=5.6.31
release=1
source=(http://www.php.net/distributions/php-$version.tar.xz)
derle() {
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
}