void-packages/srcpkgs/miller/template

23 lines
598 B
Bash

# Template file for 'miller'
pkgname=miller
version=2.0.0
revision=2
build_pie=yes
hostmakedepends="flex"
short_desc="sed, awk, cut, join, and 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=50606a7b4cd4c3437aff19de1e9e5bfe9f98b59b84b70a0ee01dacf639dab749
nocross=yes
do_build() {
make CCOMP="$CC" CFLAGS="-std=gnu99 $CFLAGS" LDFLAGS="-lm $LDFLAGS"
}
do_install() {
vbin c/mlr
vlicense LICENSE.txt
}