# Template build file for 'libnsgif'. pkgname=libnsgif version=0.0.3 revision=1 distfiles="http://www.netsurf-browser.org/projects/releases/${pkgname}-${version}-src.tar.gz" short_desc="Decoding library for the GIF image file format, written in C." maintainer="davehome " checksum=1f53bb6cc449c3b108d7653ce876ec58745f184d5a6675a95f1fa8c937dfc6d5 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 Add_dependency build sed 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 }