1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 DESCRIPTION="The Cluster Command and Control (C3) tool suite"
7 HOMEPAGE="http://www.csm.ornl.gov/torc/C3/"
8 SRC_URI="http://www.csm.ornl.gov/torc/C3/Software/${PV}/${P}.tar.gz"
12 KEYWORDS="~amd64 ~x86"
15 # Everything it needs is in "system" (profiles/base/packages)
23 # The Install-c3 script is a complete hack, so we do this ourselves.
24 # CHANGELOG says it's FHS-compliant to put stuff here, so we'll believe it.
25 local C3DIR="/opt/c3-4"
34 # Everything's in the same dir, so we need to weed out non-tool things
36 for TOOL in $(find . -maxdepth 1 -type f -name 'c*' -not -name '*.*'); do
39 # Get systemimager-using tool out of bin, since systemimager isn't in
41 dodoc ${D}/${C3DIR}/cpushimage
42 rm ${D}/${C3DIR}/cpushimage || die
44 dodoc README README.scale CHANGELOG KNOWN_BUGS
50 newenvd - 40${PN} <<-EOF
57 einfo "Because systemimager is not in Portage, cpushimage"
58 einfo "has been installed to /usr/share/doc/${P}/."