# Template build file for 'gd'.
pkgname=gd
version=2.0.35
revision=5
distfiles="http://www.libgd.org/releases/gd-$version.tar.bz2"
build_style=gnu_configure
short_desc="Graphics library for the dynamic creation of images"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=bf222490749d2a9a9ac3593b01eb55aed98461ff81202414707f61b42aa300f9
long_desc="
 gd is a graphics library. It allows your code to quickly draw images
 complete with lines, arcs, text, multiple colors, cut and paste from
 other images, and flood fills, and write out the result as a .PNG
 file. This is particularly useful in World Wide Web applications,
 where .PNG is one of the formats accepted for inline images by most
 browsers.

 gd is not a paint program. If you are looking for a paint program, you
 are looking in the wrong place. If you are not a programmer, you are
 looking in the wrong place.

 gd does not provide for every possible desirable graphics operation.
 It is not necessary or desirable for gd to become a kitchen-sink
 graphics package, but incorporates most of the commonly requested
 features for an 8-bit 2D package."
 
subpackages="$pkgname-devel $pkgname-progs"
Add_dependency run libXpm
Add_dependency run libX11
Add_dependency run jpeg
Add_dependency run fontconfig
Add_dependency run freetype
Add_dependency run libpng
Add_dependency run zlib
Add_dependency run glibc
Add_dependency build pkg-config
Add_dependency build libXpm-devel
Add_dependency build libX11-devel
Add_dependency build jpeg-devel
Add_dependency build fontconfig-devel
Add_dependency build freetype-devel
Add_dependency build libpng-devel
Add_dependency build zlib-devel
Add_dependency build glibc-devel
