/[gentoo-x86]/net-misc/mrouted/mrouted-3.9.5.ebuild
Gentoo

Contents of /net-misc/mrouted/mrouted-3.9.5.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Thu Jul 12 15:54:33 2012 UTC (8 years, 3 months ago) by axs
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +3 -3 lines
added GPL-2 to LICENSE per bug 426068

(Portage version: 2.1.10.65/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/mrouted/mrouted-3.9.5.ebuild,v 1.4 2011/04/25 09:18:14 hwoarang Exp $
4
5 EAPI="2"
6
7 inherit eutils toolchain-funcs
8
9 DESCRIPTION="IP multicast routing daemon"
10 HOMEPAGE="http://troglobit.com/mrouted.shtml"
11 SRC_URI="ftp://ftp.vmlinux.org/pub/People/jocke/${PN}/${P}.tar.bz2"
12 LICENSE="Stanford GPL-2"
13
14 SLOT="0"
15 KEYWORDS="amd64 ppc x86"
16 IUSE=""
17
18 DEPEND="|| ( dev-util/yacc sys-devel/bison )"
19 RDEPEND=""
20
21 src_prepare() {
22 # Respect user CFLAGS, remove upstream optimisation and -Werror
23 sed -i Makefile \
24 -e '/^CFLAGS/{s|[[:space:]]=| +=|g;s|-O2||g;s|-Werror||g}' \
25 || die
26 }
27
28 src_compile() {
29 emake CC=$(tc-getCC) || die
30 }
31
32 src_install() {
33 dobin mrouted || die
34 dosbin mtrace mrinfo map-mbone || die
35 doman mrouted.8 mtrace.8 mrinfo.8 map-mbone.8 || die
36
37 insinto /etc
38 doins mrouted.conf || die
39 newinitd "${FILESDIR}"/mrouted.rc mrouted || die
40 }

  ViewVC Help
Powered by ViewVC 1.1.20