mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-21 04:53:07 -04:00
net-misc/jool: Bump to 4.1.15
Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr>
This commit is contained in:
41
net-misc/jool/jool-4.1.15.ebuild
Normal file
41
net-misc/jool/jool-4.1.15.ebuild
Normal file
@@ -0,0 +1,41 @@
|
||||
# Copyright 2024-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
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"
|
||||
|
||||
DEPEND="
|
||||
dev-libs/libnl:3
|
||||
elibc_musl? ( sys-libs/argp-standalone )
|
||||
iptables? ( net-firewall/iptables )
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
!iptables? ( net-firewall/nftables )
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
--with-bash-completion-dir=no
|
||||
--with-xtables=$(usex iptables)
|
||||
)
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local myemakeargs=(
|
||||
DESTDIR="${D}"
|
||||
XTABLES_SO_DIR=$($(tc-getPKG_CONFIG) xtables --variable=xtlibdir)
|
||||
)
|
||||
emake "${myemakeargs[@]}" install
|
||||
einstalldocs
|
||||
}
|
||||
Reference in New Issue
Block a user