mirror of
https://github.com/termux/termux-packages.git
synced 2024-12-04 18:45:52 +00:00
28 lines
897 B
Bash
28 lines
897 B
Bash
TERMUX_PKG_HOMEPAGE=https://www.nlnetlabs.nl/projects/ldns/
|
|
TERMUX_PKG_DESCRIPTION="Library for simplifying DNS programming and supporting recent and experimental RFCs"
|
|
TERMUX_PKG_LICENSE="BSD 3-Clause"
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
TERMUX_PKG_VERSION=1.8.4
|
|
TERMUX_PKG_SRCURL=https://www.nlnetlabs.nl/downloads/ldns/ldns-${TERMUX_PKG_VERSION}.tar.gz
|
|
TERMUX_PKG_SHA256=838b907594baaff1cd767e95466a7745998ae64bc74be038dccc62e2de2e4247
|
|
TERMUX_PKG_DEPENDS="openssl, resolv-conf"
|
|
TERMUX_PKG_BREAKS="ldns-dev"
|
|
TERMUX_PKG_REPLACES="ldns-dev"
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|
--with-ssl=$TERMUX_PREFIX
|
|
--disable-gost
|
|
--with-drill
|
|
"
|
|
|
|
termux_step_pre_configure() {
|
|
autoreconf -fi
|
|
}
|
|
|
|
termux_step_post_make_install() {
|
|
# The ldns build doesn't install its pkg-config:
|
|
mkdir -p $TERMUX_PREFIX/lib/pkgconfig
|
|
cp packaging/libldns.pc $TERMUX_PREFIX/lib/pkgconfig/libldns.pc
|
|
}
|