27 lines
584 B
Plaintext
27 lines
584 B
Plaintext
# Description: Lightweight and flexible command-line JSON processor
|
|
# URL: https://stedolan.github.io/jq/
|
|
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
|
# Depends on: jq
|
|
|
|
name=jq-32
|
|
version=1.7.1
|
|
release=1
|
|
source=(https://github.com/stedolan/jq/releases/download/jq-$version/jq-$version.tar.gz)
|
|
|
|
build() {
|
|
cd jq-$version
|
|
|
|
autoreconf -i modules/oniguruma
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--libdir=/usr/lib32 \
|
|
--disable-maintainer-mode \
|
|
--with-oniguruma=builtin \
|
|
--disable-gtk-doc
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
rm -r $PKG/usr/{bin,include,share}
|
|
}
|