mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
@@ -1 +1,2 @@
|
||||
DIST mrouted-4.5.tar.gz 322493 BLAKE2B 1c4702d41f7bb9b6bd39cf718f28714555987b5837a858c6bb7697ad85f7a8b090bcee87d6997eecce728f3f645ac6ed41edd6bcd762b07ef92c52551ea11fba SHA512 145decbd1fba826196f719a7712bb9568080b2b5757eb80f79185537cd045ca1def36e34e93804ecaaa815607f43b58fc768b307098d90ac808ed5717a0c58d7
|
||||
DIST mrouted-4.6.tar.gz 325200 BLAKE2B eee3509d2a87ca6e089889900e5b96e14e344d12a895c6d6a4a8a3c65fab78640f0906839fda0a88f6803b608d8a9551d66d1fffae218c14331a7bfc655f2ae9 SHA512 e3e4483c38cc85787e1873a733213eedcdccaf371e39ba6ccc01786184d2ddf1ee5e44bde6d04424b28ebbcec2a020d9575ad48323fc4d2a58a88f4cf639ec1c
|
||||
|
||||
42
net-misc/mrouted/mrouted-4.6.ebuild
Normal file
42
net-misc/mrouted/mrouted-4.6.ebuild
Normal file
@@ -0,0 +1,42 @@
|
||||
# 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
|
||||
}
|
||||
Reference in New Issue
Block a user