# Template build file for 'nsgenbind'.
pkgname=nsgenbind
version=0.1.2
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=94a87e9a223791693724e929cc7b13e334d4baaf73f7d0a91fdf938c9a260a9a

do_build() {
	make ${makejobs} FLEX=flex BISON=bison PREFIX=/usr
}
do_install() {
	make PREFIX=/usr DESTDIR=${DESTDIR} install
	vinstall COPYING 0644 usr/share/licenses/${pkgname}
}
