summaryrefslogtreecommitdiff
blob: 094d56a760c529c482aea52ada376d276f274b34 (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
36
37
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-libs/rpc2/rpc2-1.13.ebuild,v 1.3 2002/08/16 02:57:06 murphy Exp $

DESCRIPTION="Remote procedure call package for IP/UDP (used by Coda)"

# Appearantly maintained by the Coda people
HOMEPAGE="http://www.coda.cs.cmu.edu"

LICENSE="LGPL-2.1"
KEYWORDS="x86 sparc sparc64"

SLOT=1

# partly based on the deps suggested by Mandrake's RPM
DEPEND="virtual/glibc
	>=sys-libs/lwp-1.9
	>=sys-libs/ncurses-5
	>=sys-libs/readline-4.1"
RDEPEND=${DEPEND}

SRC_URI="ftp://ftp.coda.cs.cmu.edu/pub/rpc2/src/${P}.tar.gz"

S=${WORKDIR}/${P}

src_compile() {
	./configure \
		--host=${CHOST} \
		--prefix=/usr \
		--infodir=/usr/share/info \
		--mandir=/usr/share/man || die "./configure failed"
	emake || die
}

src_install () {
	make DESTDIR=${D} install || die
}