From f1b529f32313e38d3215dbfc8e38d98945e701bf Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Thu, 24 Sep 2015 12:15:01 +0200 Subject: [PATCH] miller: update to 2.2.1. --- srcpkgs/miller/template | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/srcpkgs/miller/template b/srcpkgs/miller/template index 613d74c6fdc..8dd10e38662 100644 --- a/srcpkgs/miller/template +++ b/srcpkgs/miller/template @@ -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 " 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 }