1
0
Fork 0
frozenports/textproc/jq/SCHEMATIC

24 lines
775 B
Plaintext
Raw Normal View History

2024-01-22 10:46:08 +00:00
#!/bin/sh
name="jq"
short_desc="CLI JSON processor"
desc="jq is like sed for JSON data - you can use it to slice and
filter and map and transform structured data with the same
ease that sed, awk, grep and friends let you play with text."
category="textproc"
version="1.7.1"
maintainer="ffqq@danwin1210.de"
www="https://jqlang.github.io/jq/"
master_site="https://github.com/jqlang/jq/releases/download/jq-$version"
source_name="$name-$version.tar.gz"
license_logic="single" # accepted values: single, and, or
licenses=("MIT")
build_dependencies=("lang/gcc" "devel/gmake")
run_dependencies=("system/glibc")
build_process() {
cd $name-$version || exit 1
./configure --prefix=/usr
make -j$(nproc) || exit 1
make DESTDIR="$TAMANDUA_STAGE_DIR" install || exit 1
}