# Template build file for 'babl'.
pkgname=babl
version=0.1.10
revision=3
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config vala-devel"
makedepends="vala-devel"
short_desc="Dynamic pixel format translation library"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://gegl.org/babl/"
license="LGPL-3"
distfiles="ftp://ftp.gimp.org/pub/babl/0.1/babl-$version.tar.bz2"
checksum=943fc36ceac7dd25bc928256bc7b535a42989c6b971578146869eee5fe5955f4

pre_configure() {
	autoreconf -fi
}

babl-devel_package() {
	depends="babl>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove "usr/lib/*.so"
	}
}
