blob: be3bd345e385a1910373357e07e8c715ca28da90 (
plain)
1 # Description: GD module for PHP
2 # URL: http://www.php.net
3 # Maintainer: Mikhail Kolesnik, mike at openbunker dot org
4 # Depends on: libgd
5
6 name=php-gd
7 version=5.3.14
8 release=1
9 source=(http://www.php.net/distributions/php-$version.tar.bz2)
10
11 build() {
12 cd php-$version
13
14 ./configure --disable-all \
15 --with-gd=shared,/usr \
16 --with-png-dir=/usr \
17 --with-jpeg-dir=/usr \
18 --with-freetype-dir=/usr \
19 --enable-gd-native-ttf
20 make build-modules
21
22 install -d $PKG/{etc/php/conf.d,usr/lib/php/extensions}
23 install -m 755 modules/gd.so $PKG/usr/lib/php/extensions
24 echo "extension=gd.so" > $PKG/etc/php/conf.d/gd.ini
25 }
|