blob: 2da0a84849e30a042ac7da515ab6d73bb3f5f5e3 (
plain)
1 # Description: Lightweight and flexible command-line JSON processor
2 # URL: https://stedolan.github.io/jq/
3 # Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
4 # Depends on: jq
5
6 name=jq-32
7 version=1.6
8 release=1
9 source=(https://github.com/stedolan/jq/releases/download/jq-$version/jq-$version.tar.gz)
10
11 build() {
12 cd jq-$version
13
14 autoreconf -i modules/oniguruma
15
16 ./configure \
17 --prefix=/usr \
18 --libdir=/usr/lib32 \
19 --disable-maintainer-mode \
20 --with-oniguruma=builtin \
21 --disable-gtk-doc
22
23 make
24 make DESTDIR=$PKG install
25 rm -r $PKG/usr/{bin,include,share}
26 }
|