summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonnie Berkholz <dberkholz@gentoo.org>2005-02-20 09:48:32 +0000
committerDonnie Berkholz <dberkholz@gentoo.org>2005-02-20 09:48:32 +0000
commit46c89e4b8d0eaa9c06cea287b6d24b0aa578c704 (patch)
tree911d122eefa8ada07a1d83327b62f9f1a58b50cd /sys-cluster/c3
parentNew license for sys-cluster/c3. (diff)
downloadhistorical-46c89e4b8d0eaa9c06cea287b6d24b0aa578c704.tar.gz
historical-46c89e4b8d0eaa9c06cea287b6d24b0aa578c704.tar.bz2
historical-46c89e4b8d0eaa9c06cea287b6d24b0aa578c704.zip
(#68053) Add the Cluster Command and Control (C3) tool suite.
Package-Manager: portage-2.0.51-r15
Diffstat (limited to 'sys-cluster/c3')
-rw-r--r--sys-cluster/c3/ChangeLog10
-rw-r--r--sys-cluster/c3/Manifest4
-rw-r--r--sys-cluster/c3/c3-4.0.1.ebuild57
-rw-r--r--sys-cluster/c3/files/digest-c3-4.0.11
-rw-r--r--sys-cluster/c3/metadata.xml5
5 files changed, 77 insertions, 0 deletions
diff --git a/sys-cluster/c3/ChangeLog b/sys-cluster/c3/ChangeLog
new file mode 100644
index 000000000000..6eb5355ef31d
--- /dev/null
+++ b/sys-cluster/c3/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for sys-cluster/c3
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/c3/ChangeLog,v 1.1 2005/02/20 09:48:32 spyderous Exp $
+
+*c3-4.0.1 (20 Feb 2005)
+
+ 20 Feb 2005; Donnie Berkholz <spyderous@gentoo.org>; +metadata.xml,
+ +c3-4.0.1.ebuild:
+ (#68053) Add the Cluster Command and Control (C3) tool suite.
+
diff --git a/sys-cluster/c3/Manifest b/sys-cluster/c3/Manifest
new file mode 100644
index 000000000000..d9bb991478ee
--- /dev/null
+++ b/sys-cluster/c3/Manifest
@@ -0,0 +1,4 @@
+MD5 360d4e685bde3ccdb67cb00fa0702209 c3-4.0.1.ebuild 1515
+MD5 cde8b4e93c9339eb99fe3ad45941c99b metadata.xml 160
+MD5 daa3b40b2923aa450dd1fd536d2456cf ChangeLog 384
+MD5 5c6aa3d83b86b228943ac830a88dacb1 files/digest-c3-4.0.1 59
diff --git a/sys-cluster/c3/c3-4.0.1.ebuild b/sys-cluster/c3/c3-4.0.1.ebuild
new file mode 100644
index 000000000000..6e8ef7af5db1
--- /dev/null
+++ b/sys-cluster/c3/c3-4.0.1.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/c3/c3-4.0.1.ebuild,v 1.1 2005/02/20 09:48:32 spyderous Exp $
+
+DESCRIPTION="The Cluster Command and Control (C3) tool suite"
+HOMEPAGE="http://www.csm.ornl.gov/torc/C3/"
+SRC_URI="http://www.csm.ornl.gov/torc/C3/Software/${PV}/${P}.tar.gz"
+LICENSE="C3"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+# Everything it needs is in "system" (profiles/base/packages)
+DEPEND=""
+
+src_compile() {
+ :
+}
+
+src_install() {
+ # The Install-c3 script is a complete hack, so we do this ourselves.
+ # CHANGELOG says it's FHS-compliant to put stuff here, so we'll believe it.
+ local C3DIR="/opt/c3-4"
+ dodir ${C3DIR}
+
+ # "libraries"
+ insinto ${C3DIR}
+ doins *.py
+
+ # tools
+ exeinto ${C3DIR}
+ # Everything's in the same dir, so we need to weed out non-tool things
+ local TOOL
+ for TOOL in $(find ${S} -maxdepth 1 -type f -name 'c*' -not -name '*.*'); do
+ doexe ${TOOL}
+ done
+ # Get systemimager-using tool out of bin, since systemimager isn't in
+ # portage
+ dodoc ${D}/${C3DIR}/cpushimage
+ rm ${D}/${C3DIR}/cpushimage
+
+ dodoc README README.scale CHANGELOG KNOWN_BUGS
+ docinto contrib
+ dodoc contrib/*
+
+ doman man/man*/*
+
+ # Create env.d file
+ echo "PATH=${C3DIR}" > ${T}/40${PN}
+ echo "ROOTPATH=${C3DIR}" >> ${T}/40${PN}
+ insinto /etc/env.d
+ doins ${T}/40${PN}
+}
+
+pkg_postinst() {
+ einfo "Because systemimager is not in Portage, cpushimage"
+ einfo "has been installed to /usr/share/doc/${P}/."
+}
diff --git a/sys-cluster/c3/files/digest-c3-4.0.1 b/sys-cluster/c3/files/digest-c3-4.0.1
new file mode 100644
index 000000000000..b0bd459a17e2
--- /dev/null
+++ b/sys-cluster/c3/files/digest-c3-4.0.1
@@ -0,0 +1 @@
+MD5 6f0175b60ba475b04054a0499fb41cf4 c3-4.0.1.tar.gz 55142
diff --git a/sys-cluster/c3/metadata.xml b/sys-cluster/c3/metadata.xml
new file mode 100644
index 000000000000..348e6c4de815
--- /dev/null
+++ b/sys-cluster/c3/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>cluster</herd>
+</pkgmetadata>