# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit autotools git DESCRIPTION="portmap replacement which supports RPC over various protocols" HOMEPAGE="http://sourceforge.net/projects/rpcbind/" SRC_URI="" EGIT_REPO_URI="git://git.infradead.org/~steved/rpcbind.git" LICENSE="BSD sun-rpc" SLOT="0" KEYWORDS="" IUSE="" DEPEND="net-libs/libtirpc" src_unpack() { git_src_unpack eautoreconf } src_compile() { econf --bindir=/sbin || die "econf failed." emake || die "emake failed." } src_install() { emake DESTDIR="${D}" install || die "emake install failed." doman man/rpc{bind,info}.8 dodoc AUTHORS ChangeLog NEWS README newinitd "${FILESDIR}"/rpcbind.initd rpcbind || die "newinitd failed." newconfd "${FILESDIR}"/rpcbind.confd rpcbind || die "newconfd failed." }