# Template file for 'giflib'
pkgname=giflib
version=5.1.0
revision=1
build_style=gnu-configure
hostmakedepends="xmlto"
short_desc="Library for GIF images"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://sourceforge.net/projects/giflib/"
license="MIT"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=bd0430443d805dd27d1fcc8f84a14ccfcb869084dc0084fa16ad49dae6aa40de

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

giflib-tools_package() {
	short_desc+=" - utilities"
	pkg_install() {
		vmove usr/bin
		vmove usr/share
	}
}
