summaryrefslogtreecommitdiff
blob: bb8a76fe5b2c39c2fd45547b5583a9af878101c3 (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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-cluster/pvm/pvm-3.4.4.ebuild,v 1.3 2003/02/13 16:25:46 vapier Exp $

S=${WORKDIR}/pvm-${PV}
DESCRIPTION="PVM: Parallel Virtual Machine"
SRC_URI="ftp.netlib.org/pvm3/pvm${PV}.tgz"
HOMEPAGE="http://www.epm.ornl.gov/pvm/pvm_home.html"
IUSE=""

DEPEND="virtual/glibc"
RDEPEND=""

SLOT="0"
LICENSE="as-is"
KEYWORDS="~x86 ~alpha"

src_unpack() {
	unpack ${A}
}



src_compile() {
	cd ${WORKDIR}
	cd pvm3

	export PVM_ROOT=${WORKDIR}"/pvm3"
	export
	make || die
}

src_install() {
	cd ${WORKDIR}

	dodir /opt/pvm3
	cp -r * ${D}/opt

	#installs man and doc into system
	#
	#cd pvm3
	#dodir /usr/share/man/man1
	#dodir /usr/share/man/man3
	#for i in man/man1 man/man3 ; do
	#	cd ${i}
	#       mv * ${D}/usr/share/${i}
	#	cd ${WORKDIR}
	#        cd pvm3
	#    done
	#cd ${D}/usr/share/doc    
	#dodoc arches bugreport example.pvmrc release-notes
}