aboutsummaryrefslogtreecommitdiff
path: root/community/jq/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2021-01-13 12:02:46 +0300
committerCem Keylan <cem@ckyln.com>2021-01-13 12:02:46 +0300
commit7bc4fa53b9095e5b05928bb96eadc722d0826a48 (patch)
tree7dbf11697909336f3fcc094c1e17816d7f246ffa /community/jq/build
parentbd98569813cf550bb4c78c25a42441ebe3942932 (diff)
downloadrepository-7bc4fa53b9095e5b05928bb96eadc722d0826a48.tar.gz
jq: add new package at 1.6
Diffstat (limited to 'community/jq/build')
-rwxr-xr-xcommunity/jq/build13
1 files changed, 13 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