# Template file for 'txr'
pkgname=txr
version=140
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=f382f7422633e0fefda1749c9ace610b744e18aafb96274f4bbc61836b66e781

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

post_install() {
	vlicense LICENSE
}
