42 lines
939 B
Bash
42 lines
939 B
Bash
# Template file for 'giflib'
|
|
pkgname=giflib
|
|
version=5.2.2
|
|
revision=1
|
|
build_style=gnu-makefile
|
|
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=be7ffbd057cadebe2aa144542fd90c6838c6a083b5e8a9048b8ee3b66b29d5fb
|
|
|
|
CFLAGS="-fPIC"
|
|
|
|
post_patch() {
|
|
# don't build images for html doc, requires ImageMackig
|
|
vsed -i doc/Makefile -e '/^allhtml/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
|
|
}
|
|
}
|