summaryrefslogtreecommitdiff
blob: a380ddfb89c50acd2d9d32bc18756eaa7b31aa67 (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
35
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-libs/libtirpc/libtirpc-0.1.7.ebuild,v 1.1 2007/12/29 08:58:18 vapier Exp $

DESCRIPTION="Transport Independent RPC library (SunRPC replacement)"
HOMEPAGE="http://libtirpc.sourceforge.net/"
SRC_URI="http://nfsv4.bullopensource.org/tarballs/tirpc/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND=""

src_unpack() {
	unpack ${A}
	cd "${S}"
	sed -i \
		-e 's:/etc/netconfig:$(DESTDIR)/etc/netconfig:' \
		Makefile.in
	emake -s distclean || die
}

src_compile() {
	# gss stuff needs updating to latest API
	econf --disable-gss || die
	emake || die
}

src_install() {
	dodir /etc
	emake install DESTDIR="${D}" || die
	dodoc AUTHORS ChangeLog NEWS README THANKS TODO
}