37 lines
810 B
Bash
37 lines
810 B
Bash
# Template file for 'giflib'
|
|
pkgname=giflib
|
|
version=5.1.9
|
|
revision=2
|
|
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=36ccab06aa43e5d608cdd74902f89c47fd55c348009798434ba5798967454057
|
|
|
|
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
|
|
}
|
|
}
|