aboutsummaryrefslogtreecommitdiff
path: root/extra/bind/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2023-02-03 17:07:12 +0100
committerCem Keylan <cem@ckyln.com>2023-02-03 17:07:12 +0100
commit263ba4167839cdb6665d65c514fc04d14b69920a (patch)
tree673fe7b2b474ba4d20e56c898c69a4323f335ac8 /extra/bind/build
parent47997ed3d660a2e73664bd001c14c509790da30a (diff)
downloadrepository-263ba4167839cdb6665d65c514fc04d14b69920a.tar.gz
bind: add new package at 9.18.4
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"