# Template file for 'txr'
pkgname=txr
version=133
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=3e2e598f71a60835f1ecbf3b80fbf8f9e9ef235c5ca204f1492bbf64a227cb90

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

post_install() {
	vlicense LICENSE
}
