blob: 905cdad988bcd824e5647b3adcc52e136a640c99 (
plain)
1 # Description: Bind tools
2 # URL: https://www.isc.org/bind/
3 # Maintainer: CRUX System Team, core-ports at crux dot nu
4 # Depends on: libuv openssl zlib
5
6 name=bindutils
7 version=9.18.10
8 release=1
9 source=(https://ftp.isc.org/isc/bind9/$version/bind-$version.tar.xz
10 utils.patch)
11
12 build() {
13 cd bind-$version
14
15 patch -Np1 -i $SRC/utils.patch
16
17 ./configure \
18 --prefix=/usr \
19 --libdir=/usr/lib/bindutils \
20 --includedir=/usr/include/bindutils \
21 --disable-linux-caps \
22 --disable-doh \
23 --with-libxml2=no \
24 --with-gssapi=no
25
26 make -C lib
27 make bind.keys.h
28 make -C bin/dig
29 make -C bin/delv
30 make -C doc
31 make DESTDIR=$PKG -C lib install
32 make DESTDIR=$PKG -C bin/dig install
33 make DESTDIR=$PKG -C bin/delv install
34
35 install -D -m 644 doc/man/delv.1 $PKG/usr/share/man/man1/delv.1
36 install -D -m 644 doc/man/dig.1 $PKG/usr/share/man/man1/dig.1
37 install -D -m 644 doc/man/host.1 $PKG/usr/share/man/man1/host.1
38 install -D -m 644 doc/man/nslookup.1 $PKG/usr/share/man/man1/nslookup.1
39 }
|