void-packages/srcpkgs/txr/template

27 lines
689 B
Bash

# Template file for 'txr'
pkgname=txr
version=185
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=a075372a1ac6e62cf30482aa5f483ac4a40534d4a855a4c08ed59c3b7589ce26
case "$XBPS_TARGET_MACHINE" in
aarch64*) broken="#error port me!" ;;
esac
do_configure() {
./configure --prefix=/usr --ccname="${CC}" \
--platform-cflags="${CFLAGS}" \
--platform-ldflags="${LDFLAGS}"
}
post_install() {
vlicense LICENSE
}