void-packages/srcpkgs/libnsgif/template

37 lines
1.1 KiB
Plaintext

# Template build file for 'libnsgif'.
pkgname=libnsgif
version=0.0.3
revision=2
homepage="http://www.netsurf-browser.org"
distfiles="${homepage}/projects/releases/${pkgname}-${version}-src.tar.gz"
short_desc="Decoding library for the GIF image file format, written in C."
maintainer="davehome <davehome@redthumb.info.tm>"
checksum=1f53bb6cc449c3b108d7653ce876ec58745f184d5a6675a95f1fa8c937dfc6d5
license="MIT"
long_desc="
libnsgif is a decoding library for the GIF image file format, written
in C. It was developed as part of the NetSurf project and is available
for use by other software under the MIT licence.
* Features
Decodes GIF files"
subpackages="${pkgname}-devel"
wrksrc=${pkgname}-${version}-src
do_build() {
make ${makejobs} COMPONENT_TYPE=lib-shared
make ${makejobs} COMPONENT_TYPE=lib-static
}
do_install() {
make ${makejobs} COMPONENT_TYPE=lib-shared \
DESTDIR=${DESTDIR} PREFIX=/usr install
make ${makejobs} COMPONENT_TYPE=lib-static \
DESTDIR=${DESTDIR} PREFIX=/usr install
vinstall "${wrksrc}/COPYING" 0644 "usr/share/licenses/${pkgname}"
}