# Template build file for 'nsgenbind'.
pkgname=nsgenbind
version=0.1.1
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=f504336ec5579026825df413216b25ff45c078f5d863815254a5faccce76bd71

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}
}
