aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcommunity/jq/build13
-rw-r--r--community/jq/checksums1
-rw-r--r--community/jq/sources1
-rw-r--r--community/jq/version1
4 files changed, 16 insertions, 0 deletions
diff --git a/community/jq/build b/community/jq/build
new file mode 100755
index 00000000..f9a50502
--- /dev/null
+++ b/community/jq/build
@@ -0,0 +1,13 @@
+#!/bin/sh -e
+
+onig=no
+cpt l oniguruma >/dev/null 2>&1 && onig=yes
+
+./configure \
+ --prefix=/usr \
+ --disable-maintainer-mode \
+ --with-oniguruma="$onig" \
+ --enable-all-static
+
+make
+make DESTDIR="$1" install
diff --git a/community/jq/checksums b/community/jq/checksums
new file mode 100644
index 00000000..66fd4821
--- /dev/null
+++ b/community/jq/checksums
@@ -0,0 +1 @@
+5de8c8e29aaa3fb9cc6b47bb27299f271354ebb72514e3accadc7d38b5bbaa72 jq-1.6.tar.gz
diff --git a/community/jq/sources b/community/jq/sources
new file mode 100644
index 00000000..f081d4dc
--- /dev/null
+++ b/community/jq/sources
@@ -0,0 +1 @@
+https://github.com/stedolan/jq/releases/download/jq-1.6/jq-1.6.tar.gz
diff --git a/community/jq/version b/community/jq/version
new file mode 100644
index 00000000..9eb31725
--- /dev/null
+++ b/community/jq/version
@@ -0,0 +1 @@
+1.6 2