ladybird/Ports/jq/package.sh

18 lines
673 B
Bash
Raw Normal View History

2021-01-22 19:44:05 +03:00
#!/usr/bin/env -S bash ../.port_include.sh
2020-07-12 01:58:11 +03:00
port=jq
version=1.6
useconfigure=true
configopts=("--with-oniguruma=builtin" "--disable-maintainer-mode")
files="https://github.com/stedolan/jq/releases/download/jq-${version}/jq-${version}.tar.gz jq-${version}.tar.gz 5de8c8e29aaa3fb9cc6b47bb27299f271354ebb72514e3accadc7d38b5bbaa72"
makeopts=("LDFLAGS=-all-static")
use_fresh_config_sub=true
config_sub_paths=("config/config.sub" "modules/oniguruma/config.sub")
2020-07-12 01:58:11 +03:00
pre_configure() {
# FIXME: The maintainer forgot to run autoconf before creating the tarball.
# Remove this when the next update is released.
2020-07-12 01:58:11 +03:00
pushd $workdir/modules/oniguruma
autoreconf -i
2020-07-12 01:58:11 +03:00
popd
}