mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 23:23:00 -04:00
39 lines
739 B
Bash
39 lines
739 B
Bash
# Copyright 1999-2021 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit linux-info
|
|
|
|
DESCRIPTION="A static multicast routing daemon"
|
|
HOMEPAGE="https://troglobit.com/projects/smcroute/"
|
|
SRC_URI="https://github.com/troglobit/${PN}/releases/download/${PV}/${P}.tar.gz"
|
|
|
|
LICENSE="GPL-2+"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~arm64 ~x86"
|
|
IUSE="caps systemd"
|
|
|
|
RDEPEND="
|
|
caps? ( sys-libs/libcap )
|
|
systemd? ( sys-apps/systemd:0= )
|
|
"
|
|
DEPEND="${RDEPEND}"
|
|
BDEPEND="virtual/pkgconfig"
|
|
|
|
CONFIG_CHECK="
|
|
~IP_MROUTE
|
|
~IP_PIMSM_V1
|
|
~IP_PIMSM_V2
|
|
~IP_MROUTE_MULTIPLE_TABLES
|
|
~IPV6_MROUTE_MULTIPLE_TABLES
|
|
"
|
|
|
|
src_configure() {
|
|
local myconf=(
|
|
$(use_with caps libcap)
|
|
$(use_with systemd)
|
|
)
|
|
econf "${myconf[@]}"
|
|
}
|