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

do_build() {
	make ${makejobs} FLEX=flex BISON=bison PREFIX=/usr
}
do_install() {
	make PREFIX=/usr DESTDIR=${DESTDIR} install
	vlicense COPYING
}
