From 77f1c17f5328e59f3991203c579fbc85df6898a0 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 5 Jun 2023 09:36:29 +0100 Subject: gentoo auto-resync : 05:06:2023 - 09:36:29 --- net-misc/mrouted/mrouted-4.5.ebuild | 45 +++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 net-misc/mrouted/mrouted-4.5.ebuild (limited to 'net-misc/mrouted/mrouted-4.5.ebuild') diff --git a/net-misc/mrouted/mrouted-4.5.ebuild b/net-misc/mrouted/mrouted-4.5.ebuild new file mode 100644 index 000000000000..a51404357005 --- /dev/null +++ b/net-misc/mrouted/mrouted-4.5.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2023 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="rsrr test" + +# Needs unshare +RESTRICT="!test? ( test ) test" + +BDEPEND=" + app-alternatives/yacc + virtual/pkgconfig +" + +src_configure() { + tc-export CC CXX + + econf \ + $(usev rsrr --enable-rsrr) \ + $(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 +} -- cgit v1.2.3