mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-15 14:42:44 +00:00
Update done using: ``` git grep -l sys-libs/zlib sys-* | xargs sed -i -e s@sys-libs/zlib@virtual/zlib@g git grep -l virtual/zlib-ng sys-* | xargs sed -i -e s@virtual/zlib-ng@sys-libs/zlib-ng@g git diff --name-only | xargs copybump git diff --name-only | xargs grep -l PYTHON_COMPAT | xargs gpy-impl -@dead pkgcheck scan --commits -c SourcingCheck,VisibilityCheck --exit error ``` Plus reverts in sys-libs/minizip-ng and sys-libs/zlib-ng. Signed-off-by: Michał Górny <mgorny@gentoo.org>
55 lines
1.2 KiB
Bash
55 lines
1.2 KiB
Bash
# Copyright 2020-2024 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
inherit autotools
|
|
|
|
DESCRIPTION="Network abstraction layer designed for High Availability use cases"
|
|
HOMEPAGE="https://kronosnet.org"
|
|
SRC_URI="https://kronosnet.org/releases/${P}.tar.xz"
|
|
|
|
LICENSE="LGPL-2.1"
|
|
SLOT="0/1"
|
|
KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ppc64 x86"
|
|
IUSE="doc nss +openssl zstd lz4 lzo2"
|
|
|
|
DEPEND=">=sys-cluster/libqb-2.0.0:=
|
|
dev-libs/libnl:3
|
|
virtual/zlib:=
|
|
app-arch/bzip2:=
|
|
app-arch/xz-utils
|
|
zstd? ( app-arch/zstd:= )
|
|
lzo2? ( dev-libs/lzo:2 )
|
|
lz4? ( app-arch/lz4:= )
|
|
nss? ( dev-libs/nss )
|
|
openssl? ( dev-libs/openssl:= )"
|
|
RDEPEND="${DEPEND}"
|
|
BDEPEND="
|
|
doc? (
|
|
>=sys-cluster/libqb-2.0.0
|
|
app-text/doxygen[dot]
|
|
)"
|
|
|
|
src_prepare() {
|
|
default
|
|
eautoreconf
|
|
}
|
|
|
|
src_configure() {
|
|
econf_opts=(
|
|
$(use_enable doc man) \
|
|
--disable-static \
|
|
--enable-libnozzle \
|
|
--disable-libknet-sctp \
|
|
--enable-compress-zlib \
|
|
--enable-compress-bzip2 \
|
|
--enable-compress-lzma \
|
|
$(use_enable nss crypto-nss) \
|
|
$(use_enable openssl crypto-openssl) \
|
|
$(use_enable zstd compress-zstd) \
|
|
$(use_enable lz4 compress-lz4) \
|
|
$(use_enable lzo2 compress-lzo2)
|
|
)
|
|
econf "${econf_opts[@]}"
|
|
}
|