blob: be8efd909341c4cbe65a29048756491b36d3e513 (
plain)
1 # Description: GD module for PHP
2 # URL: http://www.php.net
3 # Maintainer: Alan Mizrahi, alan at mizrahi dot com dot ve
4 # Depends on: libgd
5
6 name=php-gd
7 version=5.5.27
8 release=1
9 source=(http://www.php.net/distributions/php-$version.tar.xz)
10
11 build() {
12 cd php-$version
13
14 ./configure \
15 --disable-all \
16 --with-${name#*-}=shared,/usr
17 make build-modules
18
19 install -d $PKG/etc/php/conf.d
20 for i in modules/*.so; do
21 install -D -m755 $i $PKG/usr/lib/php/extensions/${i##*/}
22 echo extension=/usr/lib/php/extensions/${i##*/} >> $PKG/etc/php/conf.d/${name#php-}.ini
23 done
24
25 }
|