blob: 007a5e0fba72756574bcf87631b1532cfabc7fb5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-nds/rpcbind/rpcbind-0.1.4.ebuild,v 1.1 2007/12/29 09:13:54 vapier Exp $
DESCRIPTION="portmap replacement which supports RPC over various protocols"
HOMEPAGE="http://nfsv4.bullopensource.org/doc/tirpc_rpcbind.php"
SRC_URI="http://nfsv4.bullopensource.org/tarballs/rpcbind/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="net-libs/libtirpc"
src_unpack() {
unpack ${A}
cd "${S}"
# fix busted timestamps
find . -type f -print0 | xargs -0 touch -r .
}
src_compile() {
econf --bindir=/sbin || die
emake || die
}
src_install() {
emake install DESTDIR="${D}" || die
doman man/rpc{bind,info}.8
dodoc AUTHORS ChangeLog NEWS README
newinitd "${FILESDIR}"/rpcbind.initd rpcbind || die
newconfd "${FILESDIR}"/rpcbind.confd rpcbind || die
}
|