summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Imhof <tantive@gentoo.org>2003-06-22 20:56:49 +0000
committerMichael Imhof <tantive@gentoo.org>2003-06-22 20:56:49 +0000
commiteed05d8d63233c447d9c429a11de0b7fc6750a60 (patch)
tree0f5b1baee8e3c46e2b2ffc894c421866f81d38e4 /sys-cluster
parentChanged ~sparc & ~mips to sparc & mips in KEYWORDS (diff)
downloadhistorical-eed05d8d63233c447d9c429a11de0b7fc6750a60.tar.gz
historical-eed05d8d63233c447d9c429a11de0b7fc6750a60.tar.bz2
historical-eed05d8d63233c447d9c429a11de0b7fc6750a60.zip
Initial release.
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/xpvm/Manifest3
-rw-r--r--sys-cluster/xpvm/files/digest-xpvm-1.2.51
-rw-r--r--sys-cluster/xpvm/files/xpvm-1.2.5-gentoo.diff86
-rw-r--r--sys-cluster/xpvm/xpvm-1.2.5.ebuild64
4 files changed, 153 insertions, 1 deletions
diff --git a/sys-cluster/xpvm/Manifest b/sys-cluster/xpvm/Manifest
index 03790969d582..fae2c708dd0f 100644
--- a/sys-cluster/xpvm/Manifest
+++ b/sys-cluster/xpvm/Manifest
@@ -1,3 +1,4 @@
-MD5 4e2d305b4183aa85e8cfc5ff8a417d0b xpvm-1.2.5.ebuild 1400
+MD5 777c4c9d7cbc2a87fcaa97a8671412da xpvm-1.2.5.ebuild 1514
+MD5 3a0174bdc31483dffd666269c6f9107b ChangeLog 376
MD5 8612050ae54924fde11b114f95ea5e63 files/xpvm-1.2.5-gentoo.diff 2049
MD5 915d49a269c55c9d68cf0d7d30f1b272 files/digest-xpvm-1.2.5 63
diff --git a/sys-cluster/xpvm/files/digest-xpvm-1.2.5 b/sys-cluster/xpvm/files/digest-xpvm-1.2.5
new file mode 100644
index 000000000000..b9694694f22c
--- /dev/null
+++ b/sys-cluster/xpvm/files/digest-xpvm-1.2.5
@@ -0,0 +1 @@
+MD5 7b20143cb2ff61e3cb28baf8f9cb2770 XPVM.src.1.2.5.tgz 196004
diff --git a/sys-cluster/xpvm/files/xpvm-1.2.5-gentoo.diff b/sys-cluster/xpvm/files/xpvm-1.2.5-gentoo.diff
new file mode 100644
index 000000000000..ce107cdd2a57
--- /dev/null
+++ b/sys-cluster/xpvm/files/xpvm-1.2.5-gentoo.diff
@@ -0,0 +1,86 @@
+--- xpvm/src/Makefile.aimk 1998-04-09 23:11:22.000000000 +0200
++++ /opt/pvm3/xpvm/src/Makefile.aimk 2003-05-31 11:53:31.000000000 +0200
+@@ -25,8 +25,8 @@
+ CFLOPTS = -O
+ #CFLOPTS = -g
+
+-CC = cc
+-#CC = gcc
++#CC = cc
++CC = gcc
+
+ CFLAGS = $(CFLOPTS) $(PVMVERSION) -DIMA_$(PVM_ARCH) $(ARCHCFLAGS)
+ LFLAGS = $(ARCHCFLAGS)
+@@ -39,13 +39,13 @@
+ #
+
+ # Personal Installation
+-TCLTKHOME = $(HOME)/TCL
++TCLTKHOME = /usr/lib/
+ # System Installation
+ #TCLTKHOME = /usr/local/lib
+
+ # Tcl 7.5 / Tk 4.1 and above
+-TCLINCL = -I$(TCLTKHOME)/tcl/generic
+-TKINCL = -I$(TCLTKHOME)/tk/generic
++#TCLINCL = -I$(TCLTKHOME)/tcl8.3/include/generic
++#TKINCL = -I$(TCLTKHOME)/tk8.3/include/generic
+ # Tcl 7.4 / Tk 4.0 and below
+ #TCLINCL = -I$(TCLTKHOME)/tcl
+ #TKINCL = -I$(TCLTKHOME)/tk
+@@ -54,8 +54,8 @@
+ #TKINCL = -I$(TCLTKHOME)
+
+ # Tcl 7.5 / Tk 4.1 and above
+-TCLLIBDIR = -L$(TCLTKHOME)/tcl/unix/$(PVM_ARCH)
+-TKLIBDIR = -L$(TCLTKHOME)/tk/unix/$(PVM_ARCH)
++TCLLIBDIR = -L$(TCLTKHOME)/tcl8.3/unix/$(PVM_ARCH)
++TKLIBDIR = -L$(TCLTKHOME)/tk8.3/unix/$(PVM_ARCH)
+ # Tcl 7.4 / Tk 4.0 and below
+ #TCLLIBDIR = -L$(TCLTKHOME)/tcl/$(PVM_ARCH)
+ #TKLIBDIR = -L$(TCLTKHOME)/tk/$(PVM_ARCH)
+@@ -64,11 +64,11 @@
+ #TKLIBDIR = -L$(TCLTKHOME)
+
+ # Tcl / Tk 8.1
+-#TCLLIB = -ltcl8.1
+-#TKLIB = -ltk8.1
++TCLLIB = -ltcl8.3
++TKLIB = -ltk8.3
+ # Tcl / Tk 8.0
+-TCLLIB = -ltcl8.0
+-TKLIB = -ltk8.0
++#TCLLIB = -ltcl8.0
++#TKLIB = -ltk8.0
+ # Tcl 7.6 / Tk 4.2
+ #TCLLIB = -ltcl7.6
+ #TKLIB = -ltk4.2
+@@ -80,22 +80,22 @@
+ #TKLIB = -ltk
+
+ # Generic X11 System
+-XINCL =
+-XLIBDIR =
++#XINCL =
++#XLIBDIR =
+ # Default Locations...
+ #XINCL = -I/usr/include/X11
+ #XLIBDIR = -L/usr/lib
+ # Linux Like Systems
+-#XINCL = -I/usr/X11R6/include
+-#XLIBDIR = -L/usr/X11R6/lib
++XINCL = -I/usr/X11R6/include
++XLIBDIR = -L/usr/X11R6/lib
+
+ XLIB = -lX11
+ #XLIB = -lX11 -lXpm
+
+ # Non-Shared Library Systems
+-SHLIB =
++#SHLIB =
+ # Linux, BSD, SunOS Shared Library Systems
+-#SHLIB = -ldl
++SHLIB = -ldl
+ # IBM Shared Library Systems
+ #SHLIB = -lld
+ # HP, Some Linux Shared Library Systems
diff --git a/sys-cluster/xpvm/xpvm-1.2.5.ebuild b/sys-cluster/xpvm/xpvm-1.2.5.ebuild
new file mode 100644
index 000000000000..d3c07baf940a
--- /dev/null
+++ b/sys-cluster/xpvm/xpvm-1.2.5.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/xpvm/xpvm-1.2.5.ebuild,v 1.1 2003/06/22 20:56:33 tantive Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="XPVM: A graphical console and monitor for PVM"
+SRC_URI="http://www.netlib.org/pvm3/xpvm/XPVM.src.1.2.5.tgz"
+HOMEPAGE="http://www.csm.ornl.gov/pvm/pvm_home.html"
+IUSE=""
+
+DEPEND=">=sys-cluster/pvm-3.4.1
+ =dev-lang/tcl-8.3.4
+ =dev-lang/tk-8.3.4"
+RDEPEND=""
+
+SLOT="0"
+KEYWORDS="~x86"
+LICENSE="LGPL-2"
+
+src_unpack() {
+ unpack ${A}
+ patch -p0 <${DISTDIR}/xpvm-1.2.5-gentoo.diff || die
+}
+
+src_compile() {
+ cd ${WORKDIR}/xpvm
+
+ export PVM_ROOT="/opt/pvm3"
+ export PVM_ARCH="LINUX"
+ export XPVM_ROOT=${WORKDIR}"/xpvm"
+
+ make xpvm || die
+}
+
+src_install() {
+ cd ${WORKDIR}/xpvm
+ dodir ${PVM_ROOT}"/xpvm"
+ dodir ${PVM_ROOT}"/bin/"${PVM_ARCH}
+ dodir "/usr/bin"
+
+ export XPVM_ROOT=${PVM_ROOT}"/xpvm"
+
+ #create symlinks to xpvm binary
+ dosym ${XPVM_ROOT}"/src/"${PVM_ARCH}"/xpvm" ${PVM_ROOT}"/bin/"${PVM_ARCH}"/xpvm"
+ dosym ${XPVM_ROOT}"/src/"${PVM_ARCH}"/xpvm" "/usr/bin/xpvm"
+
+ #install headers and libs and binary
+ export PVM_ROOT=${D}"/opt/pvm3"
+ cp ${WORKDIR}/xpvm ${PVM_ROOT} -r
+
+ #environment variables:
+ touch 97xpvm
+ echo XPVM_ROOT=/opt/pvm3/xpvm/src >>97xpvm
+ insinto /etc/env.d
+ doins 97xpvm
+
+ dodoc README
+}
+
+pkg_postinst() {
+ ewarn "Environment Variables have changed. Do not forget to reboot or perform"
+ ewarn "source /etc/profile before using xpvm !"
+}
+