void-packages/srcpkgs/miller/template

24 lines
628 B
Bash
Raw Normal View History

2015-08-28 15:28:22 +02:00
# Template file for 'miller'
pkgname=miller
2015-09-21 14:46:09 +02:00
version=2.2.0
2015-09-01 11:49:28 +02:00
revision=1
2015-08-28 15:28:22 +02:00
build_pie=yes
2015-09-01 11:49:28 +02:00
hostmakedepends="flex asciidoc"
short_desc="Tool like sed/awk/cut/join/sort for name-indexed data such as CSV"
2015-08-28 15:28:22 +02:00
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"
2015-09-21 14:46:09 +02:00
checksum=65bebfc393a95ba3677a5d11536540db0c48bda0657b8570b65bda1f4a946c1d
2015-08-28 15:28:22 +02:00
nocross=yes
do_build() {
make CCOMP="$CC" CFLAGS="-std=gnu99 $CFLAGS" LDFLAGS="-lm $LDFLAGS"
}
do_install() {
vbin c/mlr
2015-09-01 11:49:28 +02:00
vman doc/miller.1
2015-08-28 15:28:22 +02:00
vlicense LICENSE.txt
}