# Template file for 'txr' pkgname=txr version=204 revision=1 build_style=configure make_check_target=tests hostmakedepends="bison flex" short_desc="Programming language for convenient data munging" maintainer="Oliver Kiddle " license="BSD-2-Clause" homepage="http://www.nongnu.org/txr/" distfiles="http://www.kylheku.com/cgit/txr/snapshot/${pkgname}-${version}.tar.bz2" checksum=235b6f372f637c943c76f0d9a575d2407b09c958e5df313e0e09763ef780d359 if [ "$CROSS_BUILD" ]; then hostmakedepends+=" txr" fi do_configure() { ./configure --prefix=/usr --ccname="${CC}" \ --platform-cflags="${CFLAGS}" \ --platform-ldflags="${LDFLAGS}" if [ "$CROSS_BUILD" ]; then sed -i 's#^TXR :=.*#TXR = /usr/bin/txr#' Makefile fi } pre_check() { rm -rf tests/017 } post_install() { vlicense LICENSE }