* [gentoo-commits] proj/sci:master commit in: sys-cluster/scalasca/
@ 2011-03-10 20:57 Christoph Junghans
0 siblings, 0 replies; 6+ messages in thread
From: Christoph Junghans @ 2011-03-10 20:57 UTC (permalink / raw
To: gentoo-commits
commit: e52b6b092c1fb7807de525124251ad9939f98525
Author: Christoph Junghans <ottxor <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 10 21:08:06 2011 +0000
Commit: Christoph Junghans <kleiner_otti <AT> gmx <DOT> de>
CommitDate: Thu Mar 10 21:08:06 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=e52b6b09
[sys-cluster/scalasca] cleanup + url updates
(Portage version: 2.1.9.25/git/Linux i686, signed Manifest commit with key C2000586)
---
sys-cluster/scalasca/ChangeLog | 6 ++-
sys-cluster/scalasca/scalasca-1.3.1.ebuild | 61 ----------------------------
sys-cluster/scalasca/scalasca-1.3.2.ebuild | 4 +-
3 files changed, 7 insertions(+), 64 deletions(-)
diff --git a/sys-cluster/scalasca/ChangeLog b/sys-cluster/scalasca/ChangeLog
index 6af42ec..e619891 100644
--- a/sys-cluster/scalasca/ChangeLog
+++ b/sys-cluster/scalasca/ChangeLog
@@ -1,7 +1,11 @@
# ChangeLog for sys-cluster/scalasca
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 10 Mar 2011; Christoph Junghans <ottxor@gentoo.org> -scalasca-1.3.1.ebuild,
+ scalasca-1.3.2.ebuild:
+ cleanup + url updates
+
16 Dec 2010; Justin Lecher <jlec@gentoo.org> scalasca-1.3.1.ebuild,
scalasca-1.3.2.ebuild:
Removal of fortran.eclass, #348851
diff --git a/sys-cluster/scalasca/scalasca-1.3.1.ebuild b/sys-cluster/scalasca/scalasca-1.3.1.ebuild
deleted file mode 100644
index 89aade7..0000000
--- a/sys-cluster/scalasca/scalasca-1.3.1.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI="3"
-
-inherit eutils
-
-DESCRIPTION="Scalable Performance Analysis of Large-Scale Applications"
-HOMEPAGE="http://www.fz-juelich.de/jsc/scalasca/"
-SRC_URI="http://www.fz-juelich.de/jsc/datapool/scalasca/${P}.tar.gz"
-
-LICENSE="scalasca"
-SLOT="0"
-KEYWORDS="~x86"
-IUSE="examples fortran mpi openmp"
-
-DEPEND="mpi? ( virtual/mpi )
- x11-libs/qt-core:4
- x11-libs/qt-gui:4"
-
-RDEPEND="${DEPEND}"
-
-src_prepare() {
- sed -e "s:CFLAGS =.*:CFLAGS = ${CFLAGS}:" \
- -e "s:CXXFLAGS =.*:CXXFLAGS = ${CXXFLAGS}:" \
- -e "s:SZLIB_OPTFLAGS =.*:SZLIB_OPTFLAGS =:" \
- -i mf/Makefile.defs.linux-gomp mf/Makefile.defs.linux-gnu \
- || die "sed CFLAGS,CXXFLAGS failed"
-
- sed -e "s:DOCDIR =.*:DOCDIR = \${PREFIX}/share/doc/${PF}:" \
- -i mf/common.defs \
- || die "sed DOCDIR failed"
-}
-
-src_configure() {
- local myconf
-
- use openmp || myconf="${myconf} --disable-omp"
- use mpi || myconf="${myconf} --disable-mpi"
-
- ./configure --prefix="${EPREFIX}"/usr ${myconf} --compiler=gnu || die "configure failed"
-}
-
-src_compile() {
- #multi job build is broken
- emake -j1 || die "emake failed"
-}
-
-src_install() {
- #no DESTDIR support
- emake install PREFIX="${D}"/"${EPREFIX}"/usr || die "Installing failed"
-
- #examples are always installed in /usr
- cd "${D}"/"${EPREFIX}"/usr
- if use examples; then
- insinto "/usr/share/${PN}"
- doins -r example
- fi
- rm -rf example
-}
diff --git a/sys-cluster/scalasca/scalasca-1.3.2.ebuild b/sys-cluster/scalasca/scalasca-1.3.2.ebuild
index 0d3dfe0..7e74cce 100644
--- a/sys-cluster/scalasca/scalasca-1.3.2.ebuild
+++ b/sys-cluster/scalasca/scalasca-1.3.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
@@ -8,7 +8,7 @@ inherit eutils
DESCRIPTION="Scalable Performance Analysis of Large-Scale Applications"
HOMEPAGE="http://www.fz-juelich.de/jsc/scalasca/"
-SRC_URI="http://www.fz-juelich.de/jsc/datapool/scalasca/${P}.tar.gz"
+SRC_URI="http://www2.fz-juelich.de/zam/datapool/scalasca/${P}.tar.gz"
LICENSE="scalasca"
SLOT="0"
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sys-cluster/scalasca/
@ 2011-04-04 22:03 Christoph Junghans
0 siblings, 0 replies; 6+ messages in thread
From: Christoph Junghans @ 2011-04-04 22:03 UTC (permalink / raw
To: gentoo-commits
commit: fb051b07b748859c136499adc80bd028ffb601d9
Author: Christoph Junghans <ottxor <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 4 22:02:52 2011 +0000
Commit: Christoph Junghans <kleiner_otti <AT> gmx <DOT> de>
CommitDate: Mon Apr 4 22:02:52 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=fb051b07
[sys-cluster/scalasca] version bump
(Portage version: 2.1.9.42/git/Linux i686, signed Manifest commit with key C2000586)
---
sys-cluster/scalasca/ChangeLog | 6 ++++++
...scalasca-1.3.2.ebuild => scalasca-1.3.3.ebuild} | 9 +++++----
2 files changed, 11 insertions(+), 4 deletions(-)
diff --git a/sys-cluster/scalasca/ChangeLog b/sys-cluster/scalasca/ChangeLog
index e619891..c842f1b 100644
--- a/sys-cluster/scalasca/ChangeLog
+++ b/sys-cluster/scalasca/ChangeLog
@@ -2,6 +2,12 @@
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*scalasca-1.3.3 (04 Apr 2011)
+
+ 04 Apr 2011; Christoph Junghans <ottxor@gentoo.org> -scalasca-1.3.2.ebuild,
+ +scalasca-1.3.3.ebuild:
+ Version bump
+
10 Mar 2011; Christoph Junghans <ottxor@gentoo.org> -scalasca-1.3.1.ebuild,
scalasca-1.3.2.ebuild:
cleanup + url updates
diff --git a/sys-cluster/scalasca/scalasca-1.3.2.ebuild b/sys-cluster/scalasca/scalasca-1.3.3.ebuild
similarity index 88%
rename from sys-cluster/scalasca/scalasca-1.3.2.ebuild
rename to sys-cluster/scalasca/scalasca-1.3.3.ebuild
index 7e74cce..dacab5f 100644
--- a/sys-cluster/scalasca/scalasca-1.3.2.ebuild
+++ b/sys-cluster/scalasca/scalasca-1.3.3.ebuild
@@ -13,11 +13,11 @@ SRC_URI="http://www2.fz-juelich.de/zam/datapool/scalasca/${P}.tar.gz"
LICENSE="scalasca"
SLOT="0"
KEYWORDS="~x86"
-IUSE="examples fortran mpi openmp"
+IUSE="examples fortran mpi openmp qt4"
DEPEND="mpi? ( virtual/mpi )
- x11-libs/qt-core:4
- x11-libs/qt-gui:4"
+ qt4? ( x11-libs/qt-core:4
+ x11-libs/qt-gui:4 )"
RDEPEND="${DEPEND}"
@@ -38,9 +38,10 @@ src_configure() {
#configure is not a real (autotools) configure
- #only --disable-(omp/mpi) is supported by configure
+ #only --disable-XXX is supported by configure
use openmp || myconf="${myconf} --disable-omp"
use mpi || myconf="${myconf} --disable-mpi"
+ use qt4 || myconf="${myconf} --disable-gui"
./configure --prefix="${EPREFIX}"/usr ${myconf} || die "configure failed"
}
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sys-cluster/scalasca/
@ 2011-04-16 11:49 Christoph Junghans
0 siblings, 0 replies; 6+ messages in thread
From: Christoph Junghans @ 2011-04-16 11:49 UTC (permalink / raw
To: gentoo-commits
commit: 09b729fd2e2abf7fe4ed9952f0c254aec6d0a328
Author: Christoph Junghans <ottxor <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 16 11:49:25 2011 +0000
Commit: Christoph Junghans <kleiner_otti <AT> gmx <DOT> de>
CommitDate: Sat Apr 16 11:49:25 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=09b729fd
[sys-cluster/scalasca] updated homepage
(Portage version: 2.1.9.42/git/Linux i686, signed Manifest commit with key C2000586)
---
sys-cluster/scalasca/metadata.xml | 10 +++++-----
sys-cluster/scalasca/scalasca-1.3.3.ebuild | 2 +-
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/sys-cluster/scalasca/metadata.xml b/sys-cluster/scalasca/metadata.xml
index 3757a28..4306e5d 100644
--- a/sys-cluster/scalasca/metadata.xml
+++ b/sys-cluster/scalasca/metadata.xml
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>cluster</herd>
-<maintainer>
-<email>kleiner_otti@gmx.de</email>
-<name>Christoph Junghans</name>
-</maintainer>
+ <herd>cluster</herd>
+ <maintainer>
+ <email>ottxor@gentoo.org</email>
+ <name>Christoph Junghans</name>
+ </maintainer>
</pkgmetadata>
diff --git a/sys-cluster/scalasca/scalasca-1.3.3.ebuild b/sys-cluster/scalasca/scalasca-1.3.3.ebuild
index dacab5f..2b99277 100644
--- a/sys-cluster/scalasca/scalasca-1.3.3.ebuild
+++ b/sys-cluster/scalasca/scalasca-1.3.3.ebuild
@@ -7,7 +7,7 @@ EAPI="3"
inherit eutils
DESCRIPTION="Scalable Performance Analysis of Large-Scale Applications"
-HOMEPAGE="http://www.fz-juelich.de/jsc/scalasca/"
+HOMEPAGE="http://www.scalasca.org"
SRC_URI="http://www2.fz-juelich.de/zam/datapool/scalasca/${P}.tar.gz"
LICENSE="scalasca"
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sys-cluster/scalasca/
@ 2011-04-17 13:09 Christoph Junghans
0 siblings, 0 replies; 6+ messages in thread
From: Christoph Junghans @ 2011-04-17 13:09 UTC (permalink / raw
To: gentoo-commits
commit: edea100254f1a2b319b6fbca839f1bfa5647d32f
Author: Christoph Junghans <ottxor <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 17 13:09:14 2011 +0000
Commit: Christoph Junghans <kleiner_otti <AT> gmx <DOT> de>
CommitDate: Sun Apr 17 13:09:33 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=edea1002
[sys-cluster/scalasca] accept flags
(Portage version: 2.1.9.42/git/Linux i686, signed Manifest commit with key C2000586)
---
sys-cluster/scalasca/scalasca-1.3.3.ebuild | 28 +++++++++++++++++++++-------
1 files changed, 21 insertions(+), 7 deletions(-)
diff --git a/sys-cluster/scalasca/scalasca-1.3.3.ebuild b/sys-cluster/scalasca/scalasca-1.3.3.ebuild
index 2b99277..8a66075 100644
--- a/sys-cluster/scalasca/scalasca-1.3.3.ebuild
+++ b/sys-cluster/scalasca/scalasca-1.3.3.ebuild
@@ -2,9 +2,9 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
-EAPI="3"
+EAPI="4"
-inherit eutils
+inherit eutils toolchain-funcs
DESCRIPTION="Scalable Performance Analysis of Large-Scale Applications"
HOMEPAGE="http://www.scalasca.org"
@@ -22,11 +22,24 @@ DEPEND="mpi? ( virtual/mpi )
RDEPEND="${DEPEND}"
src_prepare() {
- sed -e "s:CFLAGS =.*:CFLAGS = ${CFLAGS}:" \
- -e "s:CXXFLAGS =.*:CXXFLAGS = ${CXXFLAGS}:" \
- -e "s:SZLIB_OPTFLAGS =.*:SZLIB_OPTFLAGS =:" \
- -i mf/Makefile.defs.linux-gomp mf/Makefile.defs.linux-gnu \
- || die "sed CFLAGS,CXXFLAGS failed"
+ sed \
+ -e "s:\(^PLATCC[[:space:]]*=\).*:\1 $(tc-getCC):" \
+ -e "s:\(^PFLAG[[:space:]]*=\).*:\1:" \
+ -e "s:\(^AFLAG[[:space:]]*=\).*:\1:" \
+ -e "s:\(^OPTFLAGS[[:space:]]*=\).*:\1:" \
+ -e "s:\(^CC[[:space:]]*=\).*:\1 $(tc-getCC):" \
+ -e "s:\(^CFLAGS[[:space:]]*=\).*:\1 ${CFLAGS}:" \
+ -e "s:\(^CXX[[:space:]]*=\).*:\1 $(tc-getCXX):" \
+ -e "s:\(^CXXFLAGS[[:space:]]*=\).*:\1 ${CXXFLAGS}:" \
+ -e "s:\(^F77[[:space:]]*=\).*:\1 $(tc-getFC):" \
+ -e "s:\(^F90[[:space:]]*=\).*:\1 $(tc-getFC):" \
+ -e "s:\(^FFLAGS[[:space:]]*=\).*:\1 ${FCFLAGS}:" \
+ -e "s:\(^LDFLAGS[[:space:]]*=\).*:\1 ${LDFLAGS}:" \
+ -e "s:\(^ECXX[[:space:]]*=\).*:\1 $(tc-getCXX):" \
+ -e "s:\(^ECXX_AR[[:space:]]*=\).*:\1 $(tc-getAR):" \
+ -e "s:\(^SZLIB_OPTFLAGS[[:space:]]*=\).*:\1:" \
+ -i mf/Makefile.defs.* \
+ || die "sed of flags failed"
sed -e "s:DOCDIR =.*:DOCDIR = \${PREFIX}/share/doc/${PF}:" \
-i mf/common.defs \
@@ -40,6 +53,7 @@ src_configure() {
#only --disable-XXX is supported by configure
use openmp || myconf="${myconf} --disable-omp"
+ use fortran || myconf="${myconf} --disable-fortran"
use mpi || myconf="${myconf} --disable-mpi"
use qt4 || myconf="${myconf} --disable-gui"
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sys-cluster/scalasca/
@ 2011-06-21 11:54 Justin Lecher
0 siblings, 0 replies; 6+ messages in thread
From: Justin Lecher @ 2011-06-21 11:54 UTC (permalink / raw
To: gentoo-commits
commit: b558e0cfc8faed375624401198d965e311b50450
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 21 11:21:03 2011 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Tue Jun 21 11:21:03 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=b558e0cf
Added fortran-2.eclass support
(Portage version: 2.2.0_alpha41/git/Linux x86_64, RepoMan options: --force, signed Manifest commit with key 70EB7916)
---
sys-cluster/scalasca/ChangeLog | 3 +++
sys-cluster/scalasca/scalasca-1.3.3.ebuild | 2 +-
2 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/sys-cluster/scalasca/ChangeLog b/sys-cluster/scalasca/ChangeLog
index c842f1b..b62632f 100644
--- a/sys-cluster/scalasca/ChangeLog
+++ b/sys-cluster/scalasca/ChangeLog
@@ -2,6 +2,9 @@
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 21 Jun 2011; Justin Lecher <jlec@gentoo.org> scalasca-1.3.3.ebuild:
+ Added fortran-2.eclass support
+
*scalasca-1.3.3 (04 Apr 2011)
04 Apr 2011; Christoph Junghans <ottxor@gentoo.org> -scalasca-1.3.2.ebuild,
diff --git a/sys-cluster/scalasca/scalasca-1.3.3.ebuild b/sys-cluster/scalasca/scalasca-1.3.3.ebuild
index 8a66075..75817c3 100644
--- a/sys-cluster/scalasca/scalasca-1.3.3.ebuild
+++ b/sys-cluster/scalasca/scalasca-1.3.3.ebuild
@@ -4,7 +4,7 @@
EAPI="4"
-inherit eutils toolchain-funcs
+inherit eutils fortran-2 toolchain-funcs
DESCRIPTION="Scalable Performance Analysis of Large-Scale Applications"
HOMEPAGE="http://www.scalasca.org"
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sys-cluster/scalasca/
@ 2012-02-08 4:30 Christoph Junghans
0 siblings, 0 replies; 6+ messages in thread
From: Christoph Junghans @ 2012-02-08 4:30 UTC (permalink / raw
To: gentoo-commits
commit: 87405c82093633ec701d4199a071a295a51c175e
Author: Christoph Junghans <ottxor <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 8 04:29:54 2012 +0000
Commit: Christoph Junghans <kleiner_otti <AT> gmx <DOT> de>
CommitDate: Wed Feb 8 04:29:54 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=87405c82
[sys-cluster/scalasca] removed
---
sys-cluster/scalasca/ChangeLog | 61 ---------------------
sys-cluster/scalasca/metadata.xml | 9 ---
sys-cluster/scalasca/scalasca-1.3.3.ebuild | 79 ----------------------------
3 files changed, 0 insertions(+), 149 deletions(-)
diff --git a/sys-cluster/scalasca/ChangeLog b/sys-cluster/scalasca/ChangeLog
deleted file mode 100644
index b62632f..0000000
--- a/sys-cluster/scalasca/ChangeLog
+++ /dev/null
@@ -1,61 +0,0 @@
-# ChangeLog for sys-cluster/scalasca
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: $
-
- 21 Jun 2011; Justin Lecher <jlec@gentoo.org> scalasca-1.3.3.ebuild:
- Added fortran-2.eclass support
-
-*scalasca-1.3.3 (04 Apr 2011)
-
- 04 Apr 2011; Christoph Junghans <ottxor@gentoo.org> -scalasca-1.3.2.ebuild,
- +scalasca-1.3.3.ebuild:
- Version bump
-
- 10 Mar 2011; Christoph Junghans <ottxor@gentoo.org> -scalasca-1.3.1.ebuild,
- scalasca-1.3.2.ebuild:
- cleanup + url updates
-
- 16 Dec 2010; Justin Lecher <jlec@gentoo.org> scalasca-1.3.1.ebuild,
- scalasca-1.3.2.ebuild:
- Removal of fortran.eclass, #348851
-
-*scalasca-1.3.2 (12 Dec 2010)
-
- 12 Dec 2010; Christoph Junghans <kleiner_otti@gmx.de>
- +scalasca-1.3.2.ebuild:
- Version bump
-
-*scalasca-1.3.1 (15 Jul 2010)
-
- 15 Jul 2010; Christoph Junghans <kleiner_otti@gmx.de>
- -scalasca-1.3.0.ebuild, +scalasca-1.3.1.ebuild:
- version bump
-
-*scalasca-1.3.0 (25 Mar 2010)
-
- 25 Mar 2010; Christoph Junghans <kleiner_otti@gmx.de>
- -scalasca-1.2.ebuild, +scalasca-1.3.0.ebuild:
- Version bump-wxwidgets is deprecated
-
- 29 Oct 2009; Christoph Junghans <kleiner_otti@gmx.de> scalasca-1.2.ebuild:
- missing dep bug #290560
-
- 13 Aug 2009; Christoph Junghans <kleiner_otti@gmx.de> scalasca-1.2.ebuild:
- DOCDIR fix
-
-*scalasca-1.2 (13 Aug 2009)
-
- 13 Aug 2009; Christoph Junghans <kleiner_otti@gmx.de>
- -scalasca-1.1.ebuild, -files/scalasca-1.1-installdirs.patch,
- +scalasca-1.2.ebuild:
- version bump to 1.2
-
- 18 May 2009; Christoph Junghans <kleiner_otti@gmx.de> ChangeLog:
- added wxwindows USE flags, fixed C{XX}FLAGS
-
- 17 May 2009; Christoph Junghans <kleiner_otti@gmx.de> ChangeLog:
- Fixed a bug, when calling "scalasca -h"
-
- 16 May 2009; Christoph Junghans <kleiner_otti@gmx.de> ChangeLog:
- Initial commit. Ebuild written by me. Fixes bug #268165
-
diff --git a/sys-cluster/scalasca/metadata.xml b/sys-cluster/scalasca/metadata.xml
deleted file mode 100644
index 4306e5d..0000000
--- a/sys-cluster/scalasca/metadata.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <herd>cluster</herd>
- <maintainer>
- <email>ottxor@gentoo.org</email>
- <name>Christoph Junghans</name>
- </maintainer>
-</pkgmetadata>
diff --git a/sys-cluster/scalasca/scalasca-1.3.3.ebuild b/sys-cluster/scalasca/scalasca-1.3.3.ebuild
deleted file mode 100644
index 75817c3..0000000
--- a/sys-cluster/scalasca/scalasca-1.3.3.ebuild
+++ /dev/null
@@ -1,79 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI="4"
-
-inherit eutils fortran-2 toolchain-funcs
-
-DESCRIPTION="Scalable Performance Analysis of Large-Scale Applications"
-HOMEPAGE="http://www.scalasca.org"
-SRC_URI="http://www2.fz-juelich.de/zam/datapool/scalasca/${P}.tar.gz"
-
-LICENSE="scalasca"
-SLOT="0"
-KEYWORDS="~x86"
-IUSE="examples fortran mpi openmp qt4"
-
-DEPEND="mpi? ( virtual/mpi )
- qt4? ( x11-libs/qt-core:4
- x11-libs/qt-gui:4 )"
-
-RDEPEND="${DEPEND}"
-
-src_prepare() {
- sed \
- -e "s:\(^PLATCC[[:space:]]*=\).*:\1 $(tc-getCC):" \
- -e "s:\(^PFLAG[[:space:]]*=\).*:\1:" \
- -e "s:\(^AFLAG[[:space:]]*=\).*:\1:" \
- -e "s:\(^OPTFLAGS[[:space:]]*=\).*:\1:" \
- -e "s:\(^CC[[:space:]]*=\).*:\1 $(tc-getCC):" \
- -e "s:\(^CFLAGS[[:space:]]*=\).*:\1 ${CFLAGS}:" \
- -e "s:\(^CXX[[:space:]]*=\).*:\1 $(tc-getCXX):" \
- -e "s:\(^CXXFLAGS[[:space:]]*=\).*:\1 ${CXXFLAGS}:" \
- -e "s:\(^F77[[:space:]]*=\).*:\1 $(tc-getFC):" \
- -e "s:\(^F90[[:space:]]*=\).*:\1 $(tc-getFC):" \
- -e "s:\(^FFLAGS[[:space:]]*=\).*:\1 ${FCFLAGS}:" \
- -e "s:\(^LDFLAGS[[:space:]]*=\).*:\1 ${LDFLAGS}:" \
- -e "s:\(^ECXX[[:space:]]*=\).*:\1 $(tc-getCXX):" \
- -e "s:\(^ECXX_AR[[:space:]]*=\).*:\1 $(tc-getAR):" \
- -e "s:\(^SZLIB_OPTFLAGS[[:space:]]*=\).*:\1:" \
- -i mf/Makefile.defs.* \
- || die "sed of flags failed"
-
- sed -e "s:DOCDIR =.*:DOCDIR = \${PREFIX}/share/doc/${PF}:" \
- -i mf/common.defs \
- || die "sed DOCDIR failed"
-}
-
-src_configure() {
- local myconf
-
- #configure is not a real (autotools) configure
-
- #only --disable-XXX is supported by configure
- use openmp || myconf="${myconf} --disable-omp"
- use fortran || myconf="${myconf} --disable-fortran"
- use mpi || myconf="${myconf} --disable-mpi"
- use qt4 || myconf="${myconf} --disable-gui"
-
- ./configure --prefix="${EPREFIX}"/usr ${myconf} || die "configure failed"
-}
-
-src_compile() {
- #multi job build is broken
- emake -j1 || die "emake failed"
-}
-
-src_install() {
- #no DESTDIR support
- emake install PREFIX="${ED}"/usr || die "Installing failed"
-
- #examples are always installed in /usr
- cd "${ED}"/usr
- if use examples; then
- insinto "/usr/share/${PN}"
- doins -r example
- fi
- rm -rf example
-}
^ permalink raw reply related [flat|nested] 6+ messages in thread
end of thread, other threads:[~2012-02-08 4:30 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-21 11:54 [gentoo-commits] proj/sci:master commit in: sys-cluster/scalasca/ Justin Lecher
-- strict thread matches above, loose matches on Subject: below --
2012-02-08 4:30 Christoph Junghans
2011-04-17 13:09 Christoph Junghans
2011-04-16 11:49 Christoph Junghans
2011-04-04 22:03 Christoph Junghans
2011-03-10 20:57 Christoph Junghans
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox