aboutsummaryrefslogtreecommitdiff
path: root/community/jq/build
diff options
context:
space:
mode:
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