diff options
author | Michael Imhof <tantive@gentoo.org> | 2003-09-10 10:04:45 +0000 |
---|---|---|
committer | Michael Imhof <tantive@gentoo.org> | 2003-09-10 10:04:45 +0000 |
commit | 14e53667d1500978864f623a6fa7f77373402cf9 (patch) | |
tree | c371a0acdfb4c4705887fc91e99a2a0b934b027a /sys-cluster/xpvm | |
parent | Version bumped. Submitted by the <the@weird-birds.org>. Should close #28329. (diff) | |
download | historical-14e53667d1500978864f623a6fa7f77373402cf9.tar.gz historical-14e53667d1500978864f623a6fa7f77373402cf9.tar.bz2 historical-14e53667d1500978864f623a6fa7f77373402cf9.zip |
Version bumped. Submitted by the <the@weird-birds.org>. Should close #28329.
Diffstat (limited to 'sys-cluster/xpvm')
-rw-r--r-- | sys-cluster/xpvm/Manifest | 2 | ||||
-rw-r--r-- | sys-cluster/xpvm/files/digest-xpvm-1.2.5-r2 | 1 | ||||
-rw-r--r-- | sys-cluster/xpvm/xpvm-1.2.5-r2.ebuild | 64 |
3 files changed, 66 insertions, 1 deletions
diff --git a/sys-cluster/xpvm/Manifest b/sys-cluster/xpvm/Manifest index 771f7ec9cb5e..d1f27632158b 100644 --- a/sys-cluster/xpvm/Manifest +++ b/sys-cluster/xpvm/Manifest @@ -1,5 +1,5 @@ MD5 f98f1e822673bb15499b1a1f0f4046cb xpvm-1.2.5.ebuild 1516 -MD5 747127579edb7df7dfed8a75818b8462 ChangeLog 527 +MD5 fe3ae41c07fc8a03254d2b8163df171f ChangeLog 711 MD5 c27701d17dc82621b8d26122015fc9f0 xpvm-1.2.5-r1.ebuild 1437 MD5 beb9efce81ae2c582a621528fc783095 metadata.xml 373 MD5 878e2083e8c2ddc808c3d2eb3a5ebfa3 xpvm-1.2.5-r2.ebuild 1435 diff --git a/sys-cluster/xpvm/files/digest-xpvm-1.2.5-r2 b/sys-cluster/xpvm/files/digest-xpvm-1.2.5-r2 new file mode 100644 index 000000000000..b9694694f22c --- /dev/null +++ b/sys-cluster/xpvm/files/digest-xpvm-1.2.5-r2 @@ -0,0 +1 @@ +MD5 7b20143cb2ff61e3cb28baf8f9cb2770 XPVM.src.1.2.5.tgz 196004 diff --git a/sys-cluster/xpvm/xpvm-1.2.5-r2.ebuild b/sys-cluster/xpvm/xpvm-1.2.5-r2.ebuild new file mode 100644 index 000000000000..1ee304b7dcf1 --- /dev/null +++ b/sys-cluster/xpvm/xpvm-1.2.5-r2.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: + +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-r1 + =dev-lang/tcl-8.3* + =dev-lang/tk-8.3*" +RDEPEND="" + +SLOT="0" +KEYWORDS="~x86" +LICENSE="LGPL-2" + +src_unpack() { + unpack ${A} + patch -p0 <${FILESDIR}/xpvm-1.2.5-gentoo.diff || die +} + +src_compile() { + cd ${WORKDIR}/xpvm + + export PVM_ROOT="/usr/local/pvm3" + export PVM_ARCH="LINUX" + export XPVM_ROOT=${WORKDIR}"/xpvm" + + emake 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}"/usr/local/pvm3" + cp ${WORKDIR}/xpvm ${PVM_ROOT} -r + + #environment variables: + touch 97xpvm + echo XPVM_ROOT=/usr/local/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 !" +} + |