19 lines
672 B
Bash
19 lines
672 B
Bash
# Copyright 2026 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
EAPI=8
|
|
inherit autotools
|
|
DESCRIPTION="Embedded TLS and cryptography library"
|
|
HOMEPAGE="https://www.wolfssl.com/ https://github.com/wolfSSL/wolfssl"
|
|
SRC_URI="https://github.com/wolfSSL/${PN}/archive/refs/tags/v${PV}-stable.tar.gz -> ${P}.tar.gz"
|
|
S="${WORKDIR}/${P}-stable"
|
|
LICENSE="GPL-2"
|
|
SLOT="0/42"
|
|
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
|
|
IUSE="debug +tls13"
|
|
src_prepare() { default; eautoreconf; }
|
|
src_configure() {
|
|
econf --enable-distro --enable-keygen --enable-opensslextra \
|
|
$(use_enable debug) $(use_enable tls13 tls13)
|
|
}
|
|
src_test() { emake check; }
|