kiss-mfavila-small/ports/unofficial/stable/bind/build

15 lines
245 B
Plaintext
Raw Normal View History

#!/bin/sh -e
# Remove libtool dependency.
sed -i '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"