# Template file for 'nsgenbind'
pkgname=nsgenbind
version=0.9
revision=1
hostmakedepends="pkg-config flex netsurf-buildsystem"
short_desc="Tool to generate javascript to dom bindings from w3c webid files"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://www.netsurf-browser.org"
distfiles="https://download.netsurf-browser.org/libs/releases/${pkgname}-${version}-src.tar.gz"
checksum=232ce0f66cbc2c3eed6288ae26de2c567bbfbbc01d8b0f6fc6c1c1649d4b385d

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