blob: f2cd7d1c82b2526df99f3de45dfc4a9056c66456 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
#!/bin/mkpkg
# description: DNS library with drill DNS query tool (dig replacement)
# url: https://www.nlnetlabs.nl/projects/ldns/
name=ldns
version=1.9.2
release=1
depends=(libressl)
source=(https://www.nlnetlabs.nl/downloads/ldns/$name-$version.tar.gz)
sha256sums=(
"b524fa21994b6e834200ceb8c27f1b84bda5982fe35706f058196c079db94d5d"
)
build() {
cd $name-$version
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--disable-rpath \
--disable-shared \
--disable-dane-ta-usage \
--disable-gost \
--with-drill \
--with-ssl=/ \
--without-pyldns \
--without-examples
make
make DESTDIR=$PKG install
# Remove libtool archive
rm -f $PKG/usr/lib/libldns.la
# Remove docs
rm -rf $PKG/usr/share/doc
# drill is the main tool - ensure man page is installed
install -d $PKG/usr/share/man/man1
install -m 644 drill/drill.1 $PKG/usr/share/man/man1/ 2>/dev/null || true
}
signify() {
untrusted comment: public key
RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
}
# vim: filetype=sh
|