void-packages/srcpkgs/giflib/template

33 lines
786 B
Bash

# Template file for 'giflib'
pkgname=giflib
version=5.1.4
revision=1
build_style=gnu-configure
hostmakedepends="xmlto"
short_desc="Library to handle, display and manipulate GIF images"
maintainer="Juan RP <xtraeme@voidlinux.org>"
homepage="http://sourceforge.net/projects/giflib/"
license="MIT"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=34a7377ba834397db019e8eb122e551a49c98f49df75ec3fcc92b9a794a4f6d1
post_install() {
vlicense COPYING LICENSE
}
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/man
}
}