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