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

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

post_install() {
	vlicense LICENSE
}
