# Template file for 'giflib'
pkgname=giflib
version=5.0.3
revision=3
build_style=gnu-configure
configure_args="--disable-static"
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=a0c03db63bec4a6d636084ff9ce3241313191a4053629fc4962646c8fbe84638

giflib-devel_package() {
	depends="giflib-${version}_${revision}"
	short_desc="${short_desc} -- development files"
	pkg_install() {
		vmove usr/include
	}
}

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

giflib_package() {
	pkg_install() {
		vmove usr
	}
}
