# Template file for 'polygen'
pkgname=polygen
version=1.0.6.ds2
revision=1
build_style=gnu-makefile
build_wrksrc="src"
hostmakedepends="ocaml unzip"
short_desc="Generative grammar phrase generator"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="GPL-2"
homepage="http://www.polygen.org"
distfiles="${DEBIAN_SITE}/main/p/${pkgname}/${pkgname}_${version}.orig.tar.gz"
checksum=60dbcec8aedcbb2545202ad97d41e592f232b8fc842ea25a7998c88a385148d5
nocross=yes
nopie=yes

do_install() {
	vbin polygen

	cd ${wrksrc}
	vlicense License
	vcopy grm usr/share/${pkgname}
}
