1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 22:27:35 +00:00

Ports: Add jq :^)

This commit is contained in:
AnotherTest 2020-07-12 03:28:11 +04:30 committed by Andreas Kling
parent 9054811ace
commit dc719f3b61
2 changed files with 122 additions and 0 deletions

19
Ports/jq/package.sh Executable file
View file

@ -0,0 +1,19 @@
#!/bin/bash ../.port_include.sh
port=jq
version=1.6
useconfigure=true
configopts="--with-oniguruma=builtin --disable-maintainer-mode"
files="https://github.com/stedolan/jq/releases/download/jq-1.6/jq-1.6.tar.gz jq-1.6.tar.gz"
makeopts="LDFLAGS=-all-static"
build() {
run make $makeopts
}
pre_configure() {
pushd $workdir/modules/oniguruma
autoreconf -fi
rm config.sub
cp ../../config/config.sub config.sub
popd
}