# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 PYTHON_COMPAT=( python3_{9,10} ) inherit python-single-r1 autotools multilib-minimal DESCRIPTION="A library with the aim to simplify DNS programming in C" HOMEPAGE="https://www.nlnetlabs.nl/projects/ldns/" SRC_URI="https://www.nlnetlabs.nl/downloads/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0/3" KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~ppc-macos ~x64-macos ~x64-solaris" IUSE="+dane doc +ecdsa ed25519 ed448 examples gost python static-libs vim-syntax" # configure will die if ecdsa is enabled and ssl is not REQUIRED_USE=" python? ( ${PYTHON_REQUIRED_USE} ) " COMMON_DEPEND=" python? ( ${PYTHON_DEPS} ) >=dev-libs/openssl-1.0.1e:0=[${MULTILIB_USEDEP}] examples? ( net-libs/libpcap ) " DEPEND="${COMMON_DEPEND} python? ( dev-lang/swig ) doc? ( app-doc/doxygen ) " RDEPEND="${COMMON_DEPEND} !=openssl-1.1.0 required for dane-ta if has_version "