php-gd.paketlendi
This commit is contained in:
parent
c27e3fc544
commit
427d293530
|
@ -0,0 +1,22 @@
|
||||||
|
# Description: php-gd kütüphanesi
|
||||||
|
# URL: http://www.php.net
|
||||||
|
# Packager: milisarge
|
||||||
|
# Depends on: gd
|
||||||
|
|
||||||
|
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
|
||||||
|
}
|
Loading…
Reference in New Issue