# Template build file for 'giblib'
pkgname=giblib
version=1.2.4
distfiles="http://linuxbrit.co.uk/downloads/$pkgname-$version.tar.gz"
build_style=gnu_configure
make_install_args="docsdir=/usr/share/doc/giblib"
short_desc="Programming utility library"
maintainer="Mike Rosset <mike.rosset@gmail.com>"
homepage="http://linuxbrit.co.uk/giblib/"
license="MIT"
checksum=176611c4d88d742ea4013991ad54c2f9d2feefbc97a28434c0f48922ebaa8bac
long_desc="
 Giblib is a utility library used by many of the applications found on
 www.linuxbrit.co.uk. It incorporates doubly linked lists, some string
 functions, and a wrapper for imlib2. The wrapper does two things. It
 gives you access to fontstyles, which can be loaded from files, saved to
 files, or defined dynamically through the API. It also, and more
 importantly, wraps imlib2's context API into a more compact form."

subpackages="$pkgname-devel"

Add_dependency run imlib2
Add_dependency run freetype
Add_dependency run zlib
Add_dependency run libX11
Add_dependency run libXext
Add_dependency run glibc
Add_dependency build pkg-config
Add_dependency build imlib2-devel
Add_dependency build freetype-devel
Add_dependency build zlib-devel
Add_dependency build libX11-devel
Add_dependency build libXext-devel
Add_dependency build glibc-devel
