guru/net-misc/jool/jool-4.1.13.ebuild
Nicolas PARLANT bedf135166
net-misc/jool: fix dev-libs/libnl in RDEPEND
Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr>
2024-10-14 11:37:33 +02:00

33 lines
632 B
Bash

# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Required tools for Jool"
HOMEPAGE="https://nicmx.github.io/Jool/en/index.html"
SRC_URI="https://github.com/NICMx/Jool/releases/download/v${PV}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE="+iptables"
COMMON_DEPEND="dev-libs/libnl:3"
DEPEND="
${COMMON_DEPEND}
iptables? ( net-firewall/iptables )
"
RDEPEND="
${COMMON_DEPEND}
|| (
net-firewall/nftables
iptables? ( net-firewall/iptables )
)
"
src_configure() {
econf \
--with-bash-completion-dir=no \
$(use_with iptables xtables)
}