* [gentoo-commits] dev/dev-zero:master commit in: sci-misc/cube/
@ 2016-04-17 19:18 Tiziano Müller
0 siblings, 0 replies; only message in thread
From: Tiziano Müller @ 2016-04-17 19:18 UTC (permalink / raw
To: gentoo-commits
commit: ca6f0db18c1a38dab64469edebe5f52d42100bc8
Author: Tiziano Müller <dev-zero <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 17 19:17:27 2016 +0000
Commit: Tiziano Müller <dev-zero <AT> gentoo <DOT> org>
CommitDate: Sun Apr 17 19:17:27 2016 +0000
URL: https://gitweb.gentoo.org/dev/dev-zero.git/commit/?id=ca6f0db1
sci-misc/cube: initial commit, ebuild written by me, required for score-p
sci-misc/cube/Manifest | 1 +
sci-misc/cube/cube-4.3.3.ebuild | 52 +++++++++++++++++++++++++++++++++++++++++
2 files changed, 53 insertions(+)
diff --git a/sci-misc/cube/Manifest b/sci-misc/cube/Manifest
new file mode 100644
index 0000000..2a74059
--- /dev/null
+++ b/sci-misc/cube/Manifest
@@ -0,0 +1 @@
+DIST cube-4.3.3.tar.gz 8192705 SHA256 ce8e1bff5a208fe5700a0194170be85bbd8f554e1aa1514b4afc5129326c7f83 SHA512 4293d378f6137294db7e85c02ca92b2a98d7c7126486b3463de518aa582dc780fd11fd9e061c8baa22ec4f75e64e74cfe46aeeb184cecbda699b13cddce47b02 WHIRLPOOL 2de70686e904b326522e0269f92cb60619aa2bb5e078029b634a5f667f3e10b7f7d8c7533554209d4398ed29511a3b8cd35b8c15f63ed0c6a8207be194ffe018
diff --git a/sci-misc/cube/cube-4.3.3.ebuild b/sci-misc/cube/cube-4.3.3.ebuild
new file mode 100644
index 0000000..f4cd92b
--- /dev/null
+++ b/sci-misc/cube/cube-4.3.3.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit eutils versionator
+
+DESCRIPTION="Generic tool for displaying a multi-dimensional performance space"
+HOMEPAGE="http://www.scalasca.org/software/cube-4.x/download.html"
+SRC_URI="http://apps.fz-juelich.de/scalasca/releases/${PN}/$(get_version_component_range 1-2)/dist/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+cpp debug doc static-libs +tools qt4 R"
+REQUIRED_USE="qt4? ( cpp )"
+
+DEPEND="qt4? ( dev-qt/qtgui:4 )
+ R? ( dev-lang/R )"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ econf \
+ $(use_enable static-libs static) \
+ $(use_with tools) \
+ $(use_with cpp cubelib) \
+ $(use_with qt4 gui) \
+ $(use_with R cube_dump_r) \
+ $(use_with debug)
+}
+
+src_install() {
+ # work around a custom install rule which does not create the dir
+ mkdir -p "${ED}/usr/bin"
+
+ default
+
+ prune_libtool_files
+
+ # no modules system on Gentoo (yet) and we are doing a system-wide install anyway
+ rm -rf "${ED}/usr/share/modulefiles" || die
+
+ if ! use qt4 ; then
+ # we don't need icons without a gui
+ rm -rf "${ED}/usr/share/icons/cube" || die
+ fi
+
+ # docdir gets ignored
+ use doc && dodoc -r "${ED}/usr/share/doc/cube"/{example,*.pdf}
+ rm -rf "${ED}/usr/share/doc/cube"/{example,*.pdf} || die
+}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2016-04-17 19:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-17 19:18 [gentoo-commits] dev/dev-zero:master commit in: sci-misc/cube/ Tiziano Müller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox