summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonnie Berkholz <spyderous@gentoo.org>2004-04-02 22:09:34 +0000
committerDonnie Berkholz <spyderous@gentoo.org>2004-04-02 22:09:34 +0000
commit195cd9c611d9f736b6c756435d1cc0500600588d (patch)
tree15a838c80fe3e5c7b74c7810e49fd266f63ea0de /sys-cluster
parentInitial import, ebuild by Lukasz Strzygowski <lucass@gentoo.pl>. (Manifest re... (diff)
downloadgentoo-2-195cd9c611d9f736b6c756435d1cc0500600588d.tar.gz
gentoo-2-195cd9c611d9f736b6c756435d1cc0500600588d.tar.bz2
gentoo-2-195cd9c611d9f736b6c756435d1cc0500600588d.zip
Now installs to /usr/share/pvm3 instead of /usr/local/pvm3. This closes #33067.
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/pvm/ChangeLog7
-rw-r--r--sys-cluster/pvm/files/digest-pvm-3.4.4-r21
-rw-r--r--sys-cluster/pvm/pvm-3.4.4-r2.ebuild52
3 files changed, 59 insertions, 1 deletions
diff --git a/sys-cluster/pvm/ChangeLog b/sys-cluster/pvm/ChangeLog
index 88c3aa92fc19..1d14470bce15 100644
--- a/sys-cluster/pvm/ChangeLog
+++ b/sys-cluster/pvm/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-cluster/pvm
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/pvm/ChangeLog,v 1.7 2004/03/28 10:16:27 tantive Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/pvm/ChangeLog,v 1.8 2004/04/02 22:09:34 spyderous Exp $
+
+*pvm-3.4.4-r2 (02 Apr 2004)
+
+ 02 Apr 2004; Donnie Berkholz <spyderous@gentoo.org>; pvm-3.4.4-r2.ebuild:
+ Now installs to /usr/share/pvm3 instead of /usr/local/pvm3. This closes #33067.
28 Mar 2004; Michael Imhof <tantive@gentoo.org> pvm-3.4.4.ebuild:
Cleaned out old ebuild.
diff --git a/sys-cluster/pvm/files/digest-pvm-3.4.4-r2 b/sys-cluster/pvm/files/digest-pvm-3.4.4-r2
new file mode 100644
index 000000000000..d82d614afdd9
--- /dev/null
+++ b/sys-cluster/pvm/files/digest-pvm-3.4.4-r2
@@ -0,0 +1 @@
+MD5 806abe9a866eab5981383c17ff9ed175 pvm3.4.4.tgz 967852
diff --git a/sys-cluster/pvm/pvm-3.4.4-r2.ebuild b/sys-cluster/pvm/pvm-3.4.4-r2.ebuild
new file mode 100644
index 000000000000..5c5ddb72fe91
--- /dev/null
+++ b/sys-cluster/pvm/pvm-3.4.4-r2.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2004 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-r2.ebuild,v 1.1 2004/04/02 22:09:34 spyderous Exp $
+
+inherit eutils
+
+MY_P="${P/-}"
+DESCRIPTION="PVM: Parallel Virtual Machine"
+HOMEPAGE="http://www.epm.ornl.gov/pvm/pvm_home.html"
+SRC_URI="ftp://ftp.netlib.org/pvm3/${MY_P}.tgz "
+IUSE=""
+DEPEND=""
+RDEPEND="virtual/glibc"
+SLOT="0"
+LICENSE="as-is"
+KEYWORDS="~x86"
+S="${WORKDIR}/${MY_P%%.*}"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${P}-gentoo.diff || die
+}
+
+src_compile() {
+ export PVM_ROOT="${S}"
+ emake || die
+}
+
+src_install() {
+ dodir /usr/share/man
+ rm man/man1 -fr
+ mv man/man3 ${D}/usr/share/man/
+ prepallman
+
+ dodoc Readme
+
+ #installs the rest of pvm
+ dodir /usr/share/pvm3
+ cp -r * ${D}/usr/share/pvm3
+
+ #environment variables:
+ echo PVM_ROOT=/usr/share/pvm3 > ${T}/98pvm
+ echo PVM_ARCH=LINUX >> ${T}/98pvm
+ insinto /etc/env.d
+ doins ${T}/98pvm
+}
+
+pkg_postinst() {
+ ewarn "Environment variables have changed. Do not forget to run etc-update,"
+ ewarn "reboot or perform . /etc/profile before using pvm!"
+}