23 lines
628 B
Bash
23 lines
628 B
Bash
# Template file for 'miller'
|
|
pkgname=miller
|
|
version=2.1.4
|
|
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=81796f21e29d9d5eae194bf88d17b02af5c2eb4c125891954895f875ffde47d8
|
|
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
|
|
}
|