# Template file for 'txr'
pkgname=txr
version=134
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=61d1dc9b46e956eb8f94653d85c5c464d8a374805f9afd22c23381fa5a574d08

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

post_install() {
	vlicense LICENSE
}
