void-packages/srcpkgs/giflib/template

37 lines
810 B
Bash

# Template file for 'giflib'
pkgname=giflib
version=5.1.8
revision=1
build_style=gnu-makefile
hostmakedepends="xmlto"
short_desc="Library to handle, display and manipulate GIF images"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="MIT"
homepage="https://sourceforge.net/projects/giflib/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=d105a905df34a7822172d13657cdae3d4b0c8e8c7067ccf05e39a40044f8ca53
CFLAGS="-fPIC"
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
}
}