# Template file for 'txr'
pkgname=txr
version=186
revision=1
build_style=configure
hostmakedepends="bison flex"
short_desc="Programming language for convenient data munging"
maintainer="Oliver Kiddle <okiddle@yahoo.co.uk>"
license="2-clause-BSD"
homepage="http://www.nongnu.org/txr/"
distfiles="http://www.kylheku.com/cgit/txr/snapshot/${pkgname}-${version}.tar.bz2"
checksum=0475ee855449c1c4bcdb707c5c58a4cb3e4a1d13d6199d0c235e87285775697f

do_configure() {
	./configure --prefix=/usr --ccname="${CC}" \
		--platform-cflags="${CFLAGS}" \
		--platform-ldflags="${LDFLAGS}"
}

post_install() {
	vlicense LICENSE
}
