# Template file for 'txr'
pkgname=txr
version=190
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=dd67529a260144d61cecd9e74e9a433b09d4ed5308619a6a646929c7e244affa
make_check_target="tests"

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

pre_check() {
	rm -rf tests/017
}

post_install() {
	vlicense LICENSE
}
