1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 inherit toolchain-funcs
9 DESCRIPTION="a loop-free distance-vector routing protocol"
10 HOMEPAGE="http://www.pps.jussieu.fr/~jch/software/babel/"
11 SRC_URI="http://www.pps.jussieu.fr/~jch/software/files/${P}.tar.gz"
15 KEYWORDS="~amd64 ~x86"
19 sed -e 's:/man/:/share/man/:' \
20 -e '/^PREFIX/{s:=.*:= /usr:;}' -i Makefile || die
26 "CDEBUGFLAGS=${CFLAGS}" \
27 all || die "build failed"
31 emake "TARGET=${D}" install || die "install failed"
32 dodoc CHANGES README || die