37 lines
810 B
Bash
37 lines
810 B
Bash
# Template file for 'giflib'
|
|
pkgname=giflib
|
|
version=5.2.1
|
|
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=31da5562f44c5f15d63340a09a4fd62b48c45620cd302f77a6d9acf0077879bd
|
|
|
|
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
|
|
}
|
|
}
|