# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="6" DESCRIPTION="a loop-free distance-vector routing protocol" HOMEPAGE="http://www.pps.jussieu.fr/~jch/software/babel/" if [[ "${PV}" == "9999" ]] ; then inherit git-r3 EGIT_REPO_URI="https://github.com/jech/babeld.git" else SRC_URI="http://www.pps.jussieu.fr/~jch/software/files/${P}.tar.gz" KEYWORDS="~amd64 ~x86" fi LICENSE="MIT" SLOT="0" IUSE="" src_compile() { emake CDEBUGFLAGS="${CFLAGS}" } src_install() { emake "TARGET=${D}" PREFIX="${EPREFIX}"/usr install dodoc CHANGES README doinitd "${FILESDIR}"/${PN} }