2015-08-28 13:28:22 +00:00
|
|
|
# Template file for 'miller'
|
|
|
|
pkgname=miller
|
2015-09-24 10:15:01 +00:00
|
|
|
version=2.2.1
|
2015-09-24 11:57:13 +00:00
|
|
|
revision=2
|
2015-09-24 10:15:01 +00:00
|
|
|
build_style=gnu-configure
|
2015-08-28 13:28:22 +00:00
|
|
|
build_pie=yes
|
2015-09-24 10:15:01 +00:00
|
|
|
hostmakedepends="automake libtool flex asciidoc"
|
2015-09-01 09:49:28 +00:00
|
|
|
short_desc="Tool like sed/awk/cut/join/sort for name-indexed data such as CSV"
|
2015-08-28 13:28:22 +00: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"
|
2015-09-24 10:15:01 +00:00
|
|
|
checksum=816a1822cac06752e6ea703d435e0dff65ab23d393350afadd46eb422448503f
|
2015-08-28 13:28:22 +00:00
|
|
|
|
2015-09-24 10:15:01 +00:00
|
|
|
pre_configure() {
|
2015-09-24 11:57:13 +00:00
|
|
|
# Disable debugging and profiling versions, broken on musl.
|
|
|
|
echo 'noinst_PROGRAMS=' >> c/Makefile.am
|
2015-09-24 10:15:01 +00:00
|
|
|
autoreconf -fi
|
2015-08-28 13:28:22 +00:00
|
|
|
}
|
|
|
|
|
2015-09-24 10:15:01 +00:00
|
|
|
pre_build() {
|
|
|
|
make -C c/dsls lemon CC="$BUILD_CC" CFLAGS="$BUILD_CFLAGS -fPIC"
|
|
|
|
}
|
|
|
|
|
|
|
|
post_install() {
|
2015-08-28 13:28:22 +00:00
|
|
|
vlicense LICENSE.txt
|
|
|
|
}
|