aboutsummaryrefslogtreecommitdiff
path: root/extra/bind/build
diff options
context:
space:
mode:
Diffstat (limited to 'extra/bind/build')
-rwxr-xr-xextra/bind/build14
1 files changed, 14 insertions, 0 deletions
diff --git a/extra/bind/build b/extra/bind/build
new file mode 100755
index 00000000..0f0a0f88
--- /dev/null
+++ b/extra/bind/build
@@ -0,0 +1,14 @@
+#!/bin/sh -e
+
+# Remove libtool dependency.
+clsed 's/as_fn_error.*libtool/: "/g' configure
+
+./configure \
+ --prefix=/usr \
+ --sbindir=/usr/bin
+
+make
+make DESTDIR="$1" install
+
+# Why are tests installed to $DESTDIR's /tmp ?
+rm -rf "$1/tmp"