summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Grebe <squash@gentoo.org>2004-11-09 22:59:15 +0000
committerJosh Grebe <squash@gentoo.org>2004-11-09 22:59:15 +0000
commit360057fe5a5bfded794651f22cc0d2bce3d0a578 (patch)
tree9d1f3e017759227ed26a42925258cbeec8067b5b /sys-cluster/pvm
parentFixing digest (Manifest recommit) (diff)
downloadgentoo-2-360057fe5a5bfded794651f22cc0d2bce3d0a578.tar.gz
gentoo-2-360057fe5a5bfded794651f22cc0d2bce3d0a578.tar.bz2
gentoo-2-360057fe5a5bfded794651f22cc0d2bce3d0a578.zip
Bug 69497 - Add pvm-3.4.4-r3.ebuild with non-x86 goodness
Diffstat (limited to 'sys-cluster/pvm')
-rw-r--r--sys-cluster/pvm/ChangeLog5
-rw-r--r--sys-cluster/pvm/Manifest12
-rw-r--r--sys-cluster/pvm/files/digest-pvm-3.4.4-r31
-rw-r--r--sys-cluster/pvm/pvm-3.4.4-r2.ebuild6
-rw-r--r--sys-cluster/pvm/pvm-3.4.4-r3.ebuild69
5 files changed, 84 insertions, 9 deletions
diff --git a/sys-cluster/pvm/ChangeLog b/sys-cluster/pvm/ChangeLog
index c2cb68876d96..a913097e7176 100644
--- a/sys-cluster/pvm/ChangeLog
+++ b/sys-cluster/pvm/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-cluster/pvm
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/pvm/ChangeLog,v 1.14 2004/10/09 22:23:12 morfic Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/pvm/ChangeLog,v 1.15 2004/11/09 22:59:15 squash Exp $
+
+ 09 Nov 2004; Josh Grebe <squash@gentoo.org> pvm-3.4.4-r3.ebuild:
+ Added pvm-3.4.4-r3.ebuild with non-x86 goodies and sparc lovin... bug 69497
09 Oct 2004; Daniel Goller <morfic@gentoo.org>
+pvm-3.4.4-s390.patch +pvm-3.4.4-x86_64-segfault.patch -files/pvm-3.4.4-amd64.patch:
diff --git a/sys-cluster/pvm/Manifest b/sys-cluster/pvm/Manifest
index 52ed68133326..fb7803629f19 100644
--- a/sys-cluster/pvm/Manifest
+++ b/sys-cluster/pvm/Manifest
@@ -1,9 +1,11 @@
-MD5 4d504fc52d366c8e2720ba101bac154c pvm-3.4.4-r2.ebuild 1877
-MD5 1143604bbda9e9288f4e4c583e497adb pvm-3.4.4-r1.ebuild 1142
-MD5 90ef8f993bc5751c2a79c11336b807f5 ChangeLog 1592
+MD5 a4bed679cdac9d9217c9048fa5038228 ChangeLog 1738
MD5 beb9efce81ae2c582a621528fc783095 metadata.xml 373
+MD5 1143604bbda9e9288f4e4c583e497adb pvm-3.4.4-r1.ebuild 1142
+MD5 25333b8b9524faf68017cbd863675cb5 pvm-3.4.4-r2.ebuild 1908
+MD5 04945caa0e9e4cc8a153b1621447fe76 pvm-3.4.4-r3.ebuild 1915
+MD5 c6d622987f4e06f522dcbc72cff9127d files/digest-pvm-3.4.4-r1 57
+MD5 c6d622987f4e06f522dcbc72cff9127d files/digest-pvm-3.4.4-r2 57
MD5 726a6a69ba5fb9e140e8f7e1a85c9c9d files/pvm-3.4.4-gentoo.diff 608
MD5 cb7593c1f1921b55cd0eee8447204ba8 files/pvm-3.4.4-s390.patch 886
MD5 1f52ad91cea65624c2bed0e33db5f7b4 files/pvm-3.4.4-x86_64-segfault.patch 2478
-MD5 c6d622987f4e06f522dcbc72cff9127d files/digest-pvm-3.4.4-r1 57
-MD5 c6d622987f4e06f522dcbc72cff9127d files/digest-pvm-3.4.4-r2 57
+MD5 c6d622987f4e06f522dcbc72cff9127d files/digest-pvm-3.4.4-r3 57
diff --git a/sys-cluster/pvm/files/digest-pvm-3.4.4-r3 b/sys-cluster/pvm/files/digest-pvm-3.4.4-r3
new file mode 100644
index 000000000000..d82d614afdd9
--- /dev/null
+++ b/sys-cluster/pvm/files/digest-pvm-3.4.4-r3
@@ -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
index 1cbd8c6098ee..8cbd48242e39 100644
--- a/sys-cluster/pvm/pvm-3.4.4-r2.ebuild
+++ b/sys-cluster/pvm/pvm-3.4.4-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# 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.6 2004/10/09 21:52:30 morfic Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/pvm/pvm-3.4.4-r2.ebuild,v 1.7 2004/11/09 22:59:15 squash Exp $
inherit eutils
@@ -13,7 +13,7 @@ DEPEND=""
RDEPEND="virtual/libc"
SLOT="0"
LICENSE="as-is"
-KEYWORDS="~x86 ~ppc ~amd64 ~ppc64 ~ia64"
+KEYWORDS="x86 ~ppc ~amd64 ~ppc64 ~ia64"
S="${WORKDIR}/${MY_P%%.*}"
src_unpack() {
@@ -58,7 +58,7 @@ src_install() {
#environment variables:
echo PVM_ROOT=/usr/share/pvm3 > ${T}/98pvm
- echo PVM_ARCH=LINUX >> ${T}/98pvm
+ echo PVM_ARCH=$(${D}/usr/share/pvm3/lib/pvmgetarch) >> ${T}/98pvm
insinto /etc/env.d
doins ${T}/98pvm
}
diff --git a/sys-cluster/pvm/pvm-3.4.4-r3.ebuild b/sys-cluster/pvm/pvm-3.4.4-r3.ebuild
new file mode 100644
index 000000000000..1afdb2f937ab
--- /dev/null
+++ b/sys-cluster/pvm/pvm-3.4.4-r3.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/pvm/pvm-3.4.4-r3.ebuild,v 1.1 2004/11/09 22:59:15 squash 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/libc"
+SLOT="0"
+LICENSE="as-is"
+KEYWORDS="~x86 ~ppc ~amd64 ~ppc64 ~ia64 sparc"
+S="${WORKDIR}/${MY_P%%.*}"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${P}-gentoo.diff || die
+ epatch ${FILESDIR}/${P}-s390.patch || die
+ epatch ${FILESDIR}/${P}-x86_64-segfault.patch || die
+
+# setup def files for other archs
+ cp conf/LINUX.def conf/LINUXX86_64.def
+ cp conf/LINUX.m4 conf/LINUXX86_64.m4
+ cp conf/LINUX64.def conf/LINUXIA64.def
+ cp conf/LINUX64.m4 conf/LINUXIA64.m4
+ cp conf/LINUX64.def conf/LINUXPPC64.def
+ cp conf/LINUX64.m4 conf/LINUXPPC64.m4
+
+# s390 should go in this list if there is ever interest
+# Patch the 64bit def files to look in lib64 dirs as well for libraries.
+ for I in X86_64 PPC64; do
+ sed -i -e "s|ARCHDLIB =|ARCHDLIB = -L/usr/lib64 -L/usr/X11R6/lib64|" conf/LINUX${I}.def
+ sed -i -e "s|ARCHLIB =|ARCHLIB = -L/usr/lib64 -L/usr/X11R6/lib64|" conf/LINUX${I}.def
+ done
+}
+
+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=$(${D}/usr/share/pvm3/lib/pvmgetarch) >> ${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!"
+}