2015-08-28 15:28:22 +02:00
|
|
|
# Template file for 'miller'
|
|
|
|
pkgname=miller
|
2016-01-11 13:02:29 +01:00
|
|
|
version=3.3.2
|
2015-10-18 14:50:56 +02:00
|
|
|
revision=1
|
2015-09-24 12:15:01 +02:00
|
|
|
build_style=gnu-configure
|
|
|
|
hostmakedepends="automake libtool flex asciidoc"
|
2015-09-01 11:49:28 +02:00
|
|
|
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"
|
2016-01-11 13:02:29 +01:00
|
|
|
checksum=77cbec3f41b60361ce1c7b6dd7fa4d253c7ba169db270565862f523ca965eb96
|
2015-08-28 15:28:22 +02:00
|
|
|
|
2015-09-24 12:15:01 +02:00
|
|
|
pre_configure() {
|
2015-09-24 13:57:13 +02:00
|
|
|
# Disable debugging and profiling versions, broken on musl.
|
|
|
|
echo 'noinst_PROGRAMS=' >> c/Makefile.am
|
2015-09-24 12:15:01 +02:00
|
|
|
autoreconf -fi
|
2015-08-28 15:28:22 +02:00
|
|
|
}
|
|
|
|
|
2015-09-24 12:15:01 +02:00
|
|
|
pre_build() {
|
|
|
|
make -C c/dsls lemon CC="$BUILD_CC" CFLAGS="$BUILD_CFLAGS -fPIC"
|
|
|
|
}
|
|
|
|
|
|
|
|
post_install() {
|
2015-08-28 15:28:22 +02:00
|
|
|
vlicense LICENSE.txt
|
|
|
|
}
|