mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-20 00:08:58 -04:00
33 lines
632 B
Bash
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)
|
|
}
|