2019-01-17 00:31:04 +01:00
|
|
|
# Description: Lightweight and flexible command-line JSON processor
|
2021-02-24 10:39:01 +00:00
|
|
|
# URL: https://stedolan.github.io/jq/
|
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
|
|
# Optional: oniguruma
|
2019-01-17 00:31:04 +01:00
|
|
|
|
|
|
|
name=jq
|
|
|
|
version=1.6
|
2020-02-05 02:03:10 +01:00
|
|
|
release=2
|
2019-01-17 00:31:04 +01:00
|
|
|
source=(https://github.com/stedolan/jq/releases/download/jq-$version/jq-$version.tar.gz)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
|
|
|
|
2020-02-07 22:30:29 +11:00
|
|
|
# never use bundled oniguruma for regex support
|
|
|
|
sed -i '242,245d;248,250d;256,267d' configure.ac
|
2020-02-05 02:03:10 +01:00
|
|
|
autoreconf -i
|
2019-01-17 00:31:04 +01:00
|
|
|
|
|
|
|
./configure --prefix=/usr \
|
2021-02-24 10:39:01 +00:00
|
|
|
--with-oniguruma=/usr
|
2019-01-17 00:31:04 +01:00
|
|
|
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
|
|
|
rm -r $PKG/usr/share/doc
|
|
|
|
}
|