1 TERMUX_PKG_HOMEPAGE
=http
://www.nlnetlabs.
nl/projects
/ldns
/
2 TERMUX_PKG_DESCRIPTION
="Library for simplifying DNS programming and supporting recent and experimental RFCs"
3 TERMUX_PKG_DEPENDS
="openssl"
4 TERMUX_PKG_VERSION
=1.7.0
6 TERMUX_PKG_SRCURL
=http
://www.nlnetlabs.
nl/downloads
/ldns
/ldns-
${TERMUX_PKG_VERSION}.
tar.gz
7 TERMUX_PKG_SHA256
=c19f5b1b4fb374cfe34f4845ea11b1e0551ddc67803bd6ddd5d2a20f0997a6cc
8 # --disable-dane-verify needed until openssl 1.1.0:
9 TERMUX_PKG_EXTRA_CONFIGURE_ARGS
="
10 --with-ssl=$TERMUX_PREFIX
13 TERMUX_PKG_RM_AFTER_INSTALL
="bin/ldns-config share/man/man1/ldns-config.1"
15 termux_step_post_make_install
() {
16 # The ldns build doesn't install its pkg-config:
17 mkdir
-p
$TERMUX_PREFIX/lib
/pkgconfig
18 cp packaging
/libldns.pc
$TERMUX_PREFIX/lib
/pkgconfig
/libldns.pc