blob: 9a5c0bbf846992f07044910601adfbf4b33e5a85 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Copyright 2022-2026 Liguros Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools
DESCRIPTION="Embedded SSL library."
HOMEPAGE="https://www.wolfssl.com/ https://github.com/wolfSSL/wolfssl"
SRC_URI="https://github.com/wolfSSL/wolfssl/archive/refs/tags/v${PV}-stable.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug cpu_flags_x86_aes sniffer"
DEPEND="sniffer? ( net-libs/libpcap )"
RDEPEND="${DEPEND}"
S=${WORKDIR}/${P}-stable
src_prepare() {
eautoreconf
default
}
src_configure() {
econf \
$(use_enable cpu_flags_x86_aes aesni) \
$(use_enable sniffer) \
$(use_enable debug) \
--enable-distro \
--enable-writedup # Needed for RPCS3
}
|