Files
guru/app-crypt/uacme/uacme-1.7.1.ebuild
Lucio Sauer f2be215fb9 */*: fix variable order
Manually went through some entries for `pkgcheck scan -c
VariableOrderCheck`.

Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
2024-04-26 16:46:35 +02:00

34 lines
889 B
Bash

# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="ACMEv2 client written in plain C with minimal dependencies"
HOMEPAGE="https://github.com/ndilieto/uacme"
SRC_URI="https://github.com/ndilieto/uacme/archive/upstream/${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/uacme-upstream-${PV}"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE="gnutls mbedtls +ualpn +man"
REQUIRED_USE="gnutls? ( !mbedtls )"
RDEPEND="
>=net-misc/curl-7.77.0-r1
!gnutls? ( !mbedtls? ( >=dev-libs/openssl-1.1.1k ) )
gnutls? ( >=net-libs/gnutls-3.7.1 )
mbedtls? ( >=net-libs/mbedtls-2.26.0 )
"
DEPEND="${RDEPEND}"
BDEPEND="man? ( >=app-text/asciidoc-9.0.5-r1 )"
src_configure() {
econf --with$(use gnutls || use mbedtls && echo out)-openssl \
$(use_with gnutls) \
$(use_with mbedtls) \
$(use_with ualpn) \
$(use_enable man docs)
}