Files
horizon-packages/srcpkgs/giflib/template
T
2026-07-30 03:37:48 +02:00

43 lines
965 B
Bash

# Template file for 'giflib'
pkgname=giflib
version=6.1.3
revision=1
build_style=gnu-makefile
make_check_target="test"
hostmakedepends="xmlto"
short_desc="Library to handle, display and manipulate GIF images"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://sourceforge.net/projects/giflib/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=b65b66b99f0424b93525f987386f22fc5efb9da2bfc92ad4a532249aaffbab0e
CFLAGS="-fPIC"
post_patch() {
# don't build images for html doc, requires ImageMackig
vsed -i doc/Makefile -e '/^website/s/giflib-logo\.gif//'
}
post_install() {
vlicense COPYING LICENSE
}
giflib-devel_package() {
depends="giflib-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
}
}
giflib-tools_package() {
short_desc+=" - utilities"
pkg_install() {
vmove usr/bin
vmove usr/share/man
}
}