# Template file for 'netsurf-buildsystem'
pkgname=netsurf-buildsystem
version=1.9
revision=2
wrksrc="${pkgname#netsurf-}-${version}"
short_desc="Netsurf buildsystem"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="http://www.netsurf-browser.org"
distfiles="http://download.netsurf-browser.org/libs/releases/${pkgname#netsurf-}-${version}.tar.gz"
checksum=93841e314a688209a20b8745f065393f3a90f01be68f45e96bc8d2f4a2aa9a2a

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

	vlicense COPYING
}
