diff --git a/srcpkgs/libnsbmp/template b/srcpkgs/libnsbmp/template index 72103e0459..52fbaacbd2 100644 --- a/srcpkgs/libnsbmp/template +++ b/srcpkgs/libnsbmp/template @@ -1,42 +1,34 @@ # Template build file for 'libnsbmp'. pkgname=libnsbmp -version=0.0.3 -revision=4 +version=0.1.0 +revision=1 +hostmakedepends="netsurf-buildsystem" homepage="http://www.netsurf-browser.org" -short_desc="Decoding library for BMP and ICO images in C." +short_desc="Decoding library for BMP and ICO images in C" maintainer="davehome " license="MIT" distfiles="http://download.netsurf-browser.org/libs/releases/${pkgname}-${version}-src.tar.gz" -checksum=6d8802cef5fac21528442cc303c05cef576f75138bf227e12e755c071cd57387 -long_desc=" - libnsbmp is a decoding library for BMP and ICO image file formats, 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 BMP files - Decodes ICO files" +checksum=fb576af6bd4d02d3626d5c2092bc06c80b2a80089a14decf40c813d9ec80ddc0 do_build() { - make ${makejobs} COMPONENT_TYPE=lib-shared - make ${makejobs} COMPONENT_TYPE=lib-static + make ${makejobs} COMPONENT_TYPE=lib-shared PREFIX=/usr + make ${makejobs} COMPONENT_TYPE=lib-static PREFIX=/usr } do_install() { - make ${makejobs} COMPONENT_TYPE=lib-shared \ - DESTDIR=${DESTDIR} PREFIX=/usr install - make ${makejobs} COMPONENT_TYPE=lib-static \ - DESTDIR=${DESTDIR} PREFIX=/usr install + make COMPONENT_TYPE=lib-shared PREFIX=/usr DESTDIR=${DESTDIR} install + make COMPONENT_TYPE=lib-static PREFIX=/usr DESTDIR=${DESTDIR} install - vinstall "${wrksrc}/COPYING" 0644 "usr/share/licenses/${pkgname}" + vinstall COPYING 0644 usr/share/licenses/${pkgname} } libnsbmp-devel_package() { - depends="libnsbmp>=${version}" - short_desc+=" -- development files" + depends="${sourcepkg}>=${version}_${revision}" + short_desc+=" - development files" pkg_install() { vmove usr/include vmove usr/lib/pkgconfig vmove "usr/lib/*.a" + vmove "usr/lib/*.so" } }