From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id D042159CB2 for ; Sun, 17 Apr 2016 19:18:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 49C3E21C0E0; Sun, 17 Apr 2016 19:18:24 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CF78A21C0A7 for ; Sun, 17 Apr 2016 19:18:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 49963340AE0 for ; Sun, 17 Apr 2016 19:18:22 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B1BBB16C4 for ; Sun, 17 Apr 2016 19:18:16 +0000 (UTC) From: "Tiziano Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Tiziano Müller" Message-ID: <1460920647.ca6f0db18c1a38dab64469edebe5f52d42100bc8.dev-zero@gentoo> Subject: [gentoo-commits] dev/dev-zero:master commit in: sci-misc/cube/ X-VCS-Repository: dev/dev-zero X-VCS-Files: sci-misc/cube/Manifest sci-misc/cube/cube-4.3.3.ebuild X-VCS-Directories: sci-misc/cube/ X-VCS-Committer: dev-zero X-VCS-Committer-Name: Tiziano Müller X-VCS-Revision: ca6f0db18c1a38dab64469edebe5f52d42100bc8 X-VCS-Branch: master Date: Sun, 17 Apr 2016 19:18:16 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 3cfdf89e-ba7b-461c-a418-07b722179359 X-Archives-Hash: bf7e0e0593c8cb76c77351b7ca08de9c commit: ca6f0db18c1a38dab64469edebe5f52d42100bc8 Author: Tiziano Müller gentoo org> AuthorDate: Sun Apr 17 19:17:27 2016 +0000 Commit: Tiziano Müller gentoo 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 +}