net-misc/mrouted - 4.5 (gentoo)

Search

Package Information

Description:
IP multicast routing daemon
Homepage:
https://troglobit.com/projects/mrouted/
License:
Stanford GPL-2

Ebuild Details

Version EAPI Keywords Slot
4.5 8 amd64 ppc x86 0
View Raw Ebuild
# 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
}

USE Flags

Dependencies

BDEPEND

	app-alternatives/yacc
	virtual/pkgconfig

Manifest for 4.5

Type File Size Source URLs
DIST mrouted-4.5.tar.gz 322493 bytes https://github.com/troglobit/mrouted/releases/download/4.5/mrouted-4.5.tar.gz