2015-08-28 15:28:22 +02:00
|
|
|
# Template file for 'miller'
|
|
|
|
pkgname=miller
|
|
|
|
version=2.0.0
|
2015-08-28 15:31:17 +02:00
|
|
|
revision=2
|
2015-08-28 15:28:22 +02:00
|
|
|
build_pie=yes
|
2015-08-28 15:31:17 +02:00
|
|
|
hostmakedepends="flex"
|
2015-08-28 15:28:22 +02:00
|
|
|
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
|
|
|
|
}
|