void-packages/srcpkgs/miller/template
2020-11-30 20:30:12 +01:00

29 lines
829 B
Bash

# Template file for 'miller'
pkgname=miller
version=5.10.0
revision=1
build_style=gnu-configure
hostmakedepends="asciidoc automake flex libtool"
checkdepends="tzdata"
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=913abe277726bd7fa928fd5db530b0cd61dba74cc454e5d2ddb7c4934979efb6
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
}