void-packages/srcpkgs/miller/template

24 lines
628 B
Bash

# Template file for 'miller'
pkgname=miller
version=2.2.0
revision=1
build_pie=yes
hostmakedepends="flex asciidoc"
short_desc="Tool like sed/awk/cut/join/sort for name-indexed data such as CSV"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="BSD-2"
homepage="http://johnkerl.org/miller/"
distfiles="https://github.com/johnkerl/${pkgname}/archive/v${version}.tar.gz"
checksum=65bebfc393a95ba3677a5d11536540db0c48bda0657b8570b65bda1f4a946c1d
nocross=yes
do_build() {
make CCOMP="$CC" CFLAGS="-std=gnu99 $CFLAGS" LDFLAGS="-lm $LDFLAGS"
}
do_install() {
vbin c/mlr
vman doc/miller.1
vlicense LICENSE.txt
}