28 lines
806 B
Bash
28 lines
806 B
Bash
# Template file for 'miller'
|
|
pkgname=miller
|
|
version=5.6.1
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="automake libtool flex asciidoc"
|
|
short_desc="Tool like sed/awk/cut/join/sort for name-indexed data such as CSV"
|
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|
license="2-clause-BSD"
|
|
homepage="http://johnkerl.org/miller/"
|
|
distfiles="https://github.com/johnkerl/${pkgname}/archive/v${version}.tar.gz"
|
|
changelog="https://github.com/johnkerl/miller/releases"
|
|
checksum=93c74ae9ebf8fd0b2e5f75d23df1eec9629a6385734adf036994803b08e81c0c
|
|
|
|
pre_configure() {
|
|
# Disable debugging and profiling versions, broken on musl.
|
|
echo 'noinst_PROGRAMS=' >> c/Makefile.am
|
|
autoreconf -fi
|
|
}
|
|
|
|
pre_build() {
|
|
make -C c/parsing lemon CC="$BUILD_CC" CFLAGS="$BUILD_CFLAGS -fPIC"
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE.txt
|
|
}
|