void-packages/srcpkgs/miller/template
2019-09-23 13:12:08 +02:00

27 lines
806 B
Bash

# Template file for 'miller'
pkgname=miller
version=5.6.2
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool flex asciidoc"
short_desc="Tool like sed/awk/cut/join/sort for name-indexed data such as CSV"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="BSD-2-Clause"
homepage="http://johnkerl.org/miller/"
changelog="https://github.com/johnkerl/miller/releases"
distfiles="https://github.com/johnkerl/${pkgname}/archive/v${version}.tar.gz"
checksum=4a02dad2ea545a8085aec7fcf79b3987ddd8ce9d111d5cede488692bb0f49731
pre_configure() {
# Disable debugging and profiling versions, broken on musl.
echo 'noinst_PROGRAMS=' >> c/Makefile.am
autoreconf -fi
}
pre_build() {
make -C c/parsing lemon CC="$BUILD_CC" CFLAGS="$BUILD_CFLAGS -fPIC"
}
post_install() {
vlicense LICENSE.txt
}