mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-06-14 00:52:35 +02:00
Upstream removed RSRR feature in version 4.4, see [1].
[1] e3269bc986
Closes: https://bugs.gentoo.org/828900
Signed-off-by: Petr Vaněk <arkamar@gentoo.org>
44 lines
767 B
Bash
44 lines
767 B
Bash
# Copyright 1999-2024 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit toolchain-funcs systemd
|
|
|
|
DESCRIPTION="IP multicast routing daemon"
|
|
HOMEPAGE="https://troglobit.com/projects/mrouted/"
|
|
SRC_URI="https://github.com/troglobit/${PN}/releases/download/${PV}/${P}.tar.gz"
|
|
|
|
LICENSE="Stanford GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 ppc x86"
|
|
IUSE="test"
|
|
|
|
# Needs unshare
|
|
RESTRICT="!test? ( test ) test"
|
|
|
|
BDEPEND="
|
|
app-alternatives/yacc
|
|
virtual/pkgconfig
|
|
"
|
|
|
|
src_configure() {
|
|
tc-export CC CXX
|
|
|
|
econf \
|
|
$(use_enable test)
|
|
}
|
|
|
|
src_compile() {
|
|
emake CC="$(tc-getCC)" CXX="$(tc-getCXX)"
|
|
}
|
|
|
|
src_install() {
|
|
default
|
|
|
|
insinto /etc
|
|
doins mrouted.conf
|
|
|
|
newinitd "${FILESDIR}"/mrouted.rc mrouted
|
|
systemd_dounit mrouted.service
|
|
}
|