diff --git a/php-gd/.md5sum b/php-gd/.md5sum index 860242818..edfdaf3d3 100644 --- a/php-gd/.md5sum +++ b/php-gd/.md5sum @@ -1 +1 @@ -7caac4f71e2f21426c11ac153e538392 php-5.3.14.tar.bz2 +ffcc7f4dcf2b79d667fe0c110e6cb724 php-5.4.5.tar.bz2 diff --git a/php-gd/Pkgfile b/php-gd/Pkgfile index be3bd345e..0d1f15897 100644 --- a/php-gd/Pkgfile +++ b/php-gd/Pkgfile @@ -1,18 +1,20 @@ # Description: GD module for PHP # URL: http://www.php.net # Maintainer: Mikhail Kolesnik, mike at openbunker dot org -# Depends on: libgd +# Depends on: libjpeg libpng freetype name=php-gd -version=5.3.14 +version=5.4.5 release=1 source=(http://www.php.net/distributions/php-$version.tar.bz2) +# this version depends on internal libgd, as the +# old way of building it: "--with-gd=shared,/usr" +# does not work anymore build() { cd php-$version - ./configure --disable-all \ - --with-gd=shared,/usr \ + --with-gd=shared \ --with-png-dir=/usr \ --with-jpeg-dir=/usr \ --with-freetype-dir=/usr \