php-gd: update to 5.4.5, use internal libgd

This commit is contained in:
Mikhail Kolesnik 2012-07-23 15:58:20 +03:00
parent 5608529125
commit 6af83c83e3
2 changed files with 7 additions and 5 deletions

View File

@ -1 +1 @@
7caac4f71e2f21426c11ac153e538392 php-5.3.14.tar.bz2
ffcc7f4dcf2b79d667fe0c110e6cb724 php-5.4.5.tar.bz2

View File

@ -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 \