# Template build file for 'nsgenbind'.
pkgname=nsgenbind
version=0.0.1
revision=1
hostmakedepends="pkg-config flex netsurf-buildsystem"
short_desc="Tool to generate javascript to dom bindings from w3c webid files"
maintainer="davehome <davehome@redthumb.info.tm>"
license="MIT"
homepage="http://www.netsurf-browser.org"
distfiles="http://download.netsurf-browser.org/libs/releases/${pkgname}-${version}-src.tar.gz"
checksum=05eb57a0b6de8ae094826e39620cee9ef9b672e79f755e7810ca98c0a3989552

do_build() {
	make ${makejobs} PREFIX=/usr
}

do_install() {
	make PREFIX=/usr DESTDIR=${DESTDIR} install
	vinstall COPYING 0644 usr/share/licenses/${pkgname}
}
