void-packages/srcpkgs/giflib/template

30 lines
709 B
Bash

# Template file for 'giflib'
pkgname=giflib
version=5.1.2
revision=1
build_style=gnu-configure
hostmakedepends="xmlto"
short_desc="Library for GIF images"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://sourceforge.net/projects/giflib/"
license="MIT"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=e0539889f76b1e9effb1cf3a3080a456f97fd72acf0e7580f08dc847c61185ae
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
}
}