miller: update to 2.2.1.

This commit is contained in:
Christian Neukirchen 2015-09-24 12:15:01 +02:00
parent de6ecc1b37
commit f1b529f323

View File

@ -1,23 +1,25 @@
# Template file for 'miller'
pkgname=miller
version=2.2.0
version=2.2.1
revision=1
build_style=gnu-configure
build_pie=yes
hostmakedepends="flex asciidoc"
hostmakedepends="automake libtool 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
checksum=816a1822cac06752e6ea703d435e0dff65ab23d393350afadd46eb422448503f
do_build() {
make CCOMP="$CC" CFLAGS="-std=gnu99 $CFLAGS" LDFLAGS="-lm $LDFLAGS"
pre_configure() {
autoreconf -fi
}
do_install() {
vbin c/mlr
vman doc/miller.1
pre_build() {
make -C c/dsls lemon CC="$BUILD_CC" CFLAGS="$BUILD_CFLAGS -fPIC"
}
post_install() {
vlicense LICENSE.txt
}