aboutsummaryrefslogtreecommitdiff
path: root/extra/bind/build
blob: 0f0a0f8856d9f8ff62303996f50cd0dcfbb7aed5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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"