#!/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