mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 22:27:35 +00:00
Ports: Add jq :^)
This commit is contained in:
parent
9054811ace
commit
dc719f3b61
2 changed files with 122 additions and 0 deletions
19
Ports/jq/package.sh
Executable file
19
Ports/jq/package.sh
Executable 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
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue