blob: fe1da33e90ff53a5931b16ad59cb11de8e99916d (
plain) (
tree)
|
|
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit toolchain-funcs
DESCRIPTION="command line tool to manipulate the multicast routes of the Linux kernel"
HOMEPAGE="http://www.cschill.de/smcroute"
SRC_URI="http://www.cschill.de/smcroute/${P}.tgz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
DOCS=( ChangeLog.txt )
HTML_DOCS=( doc/smcroute-man.html )
S="${WORKDIR}/${P}/src"
src_prepare() {
default
sed -i -e "/^CFLAGS/d" \
Makefile
tc-export CC
}
src_compile() {
emake all
}
src_install() {
emake install
cd ..
dosbin bin/mcsender bin/smcroute
doman doc/smcroute.8
}
|