# Template build file for 'nsgenbind'.
pkgname=nsgenbind
version=0.1.0
revision=1
hostmakedepends="pkg-config flex netsurf-buildsystem>=1.1"
short_desc="Tool to generate javascript to dom bindings from w3c webid files"
maintainer="Juan RP <xtraeme@gmail.com>"
license="MIT"
homepage="http://www.netsurf-browser.org"
distfiles="http://download.netsurf-browser.org/libs/releases/${pkgname}-${version}-src.tar.gz"
checksum=b76258fff184c19a088a7b21603457f999c2a7b1ca04edce4112e6599b702c1c

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

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