diff --git a/srcpkgs/netsurf-buildsystem/template b/srcpkgs/netsurf-buildsystem/template new file mode 100644 index 0000000000..5294fb2bdf --- /dev/null +++ b/srcpkgs/netsurf-buildsystem/template @@ -0,0 +1,24 @@ +# Template build file for 'netsurf-buildsystem'. +pkgname=netsurf-buildsystem +version=1.0 +revision=1 +noarch=yes +wrksrc="${pkgname#netsurf-}-${version}" +short_desc="The Netsurf buildsystem" +maintainer="Juan RP " +homepage="http://www.netsurf-browser.org" +license="MIT" +distfiles="http://download.netsurf-browser.org/libs/releases/${pkgname#netsurf-}-${version}.tar.gz" +checksum=4495e8e12faf0ace668ab80401064ce7f65a195efe63c924c066a109649ff146 + +do_build() { + make COMPONENT_TYPE=lib-shared PREFIX=/usr + make COMPONENT_TYPE=lib-static PREFIX=/usr +} + +do_install() { + make COMPONENT_TYPE=lib-shared PREFIX=/usr DESTDIR=${DESTDIR} install + make COMPONENT_TYPE=lib-static PREFIX=/usr DESTDIR=${DESTDIR} install + + vinstall COPYING 0644 usr/share/licenses/${pkgname} +}