summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2012-08-02 05:08:47 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2012-08-02 05:08:47 +0000
commit39e2fa3824bfb0278dbc4fb4235fc697258614a7 (patch)
tree4b6a08883245867a53aca33795e14a5650569868 /sci-libs/lis
parentVersion bump (diff)
downloadgentoo-2-39e2fa3824bfb0278dbc4fb4235fc697258614a7.tar.gz
gentoo-2-39e2fa3824bfb0278dbc4fb4235fc697258614a7.tar.bz2
gentoo-2-39e2fa3824bfb0278dbc4fb4235fc697258614a7.zip
Version bump
(Portage version: 2.2.01.20796-prefix/cvs/Linux x86_64)
Diffstat (limited to 'sci-libs/lis')
-rw-r--r--sci-libs/lis/ChangeLog8
-rw-r--r--sci-libs/lis/lis-1.2.90.ebuild50
2 files changed, 56 insertions, 2 deletions
diff --git a/sci-libs/lis/ChangeLog b/sci-libs/lis/ChangeLog
index f50536133a2d..b3c64711c6a1 100644
--- a/sci-libs/lis/ChangeLog
+++ b/sci-libs/lis/ChangeLog
@@ -1,10 +1,14 @@
# ChangeLog for sci-libs/lis
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/lis/ChangeLog,v 1.1 2012/01/21 18:24:45 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/lis/ChangeLog,v 1.2 2012/08/02 05:08:47 bicatali Exp $
+
+*lis-1.2.90 (02 Aug 2012)
+
+ 02 Aug 2012; Sébastien Fabbro <bicatali@gentoo.org> +lis-1.2.90.ebuild:
+ Version bump
*lis-1.2.62 (21 Jan 2012)
21 Jan 2012; Sébastien Fabbro <bicatali@gentoo.org> +lis-1.2.62.ebuild,
+files/lis-1.2.62-autotools.patch, +metadata.xml:
Initial import
-
diff --git a/sci-libs/lis/lis-1.2.90.ebuild b/sci-libs/lis/lis-1.2.90.ebuild
new file mode 100644
index 000000000000..d22c1b6bb6df
--- /dev/null
+++ b/sci-libs/lis/lis-1.2.90.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/lis/lis-1.2.90.ebuild,v 1.1 2012/08/02 05:08:47 bicatali Exp $
+
+EAPI=4
+
+AUTOTOOLS_AUTORECONF=yes
+inherit autotools-utils fortran-2
+
+DESCRIPTION="Library of Iterative Solvers for Linear Systems"
+HOMEPAGE="http://www.ssisc.org/lis/index.en.html"
+SRC_URI="http://www.ssisc.org/lis/dl/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc fma fortran mpi openmp quad saamg sse2 static-libs"
+
+RDEPEND="mpi? ( virtual/mpi )"
+DEPEND="${RDEPEND}
+ fortran? ( virtual/fortran )"
+
+PATCHES=( ${FILESDIR}/${PN}-1.2.62-autotools.patch )
+
+pkg_setup() {
+ if use openmp; then
+ [[ $(tc-getCC)$ == *gcc* ]] && ! tc-has-openmp && \
+ die "You have openmp enabled but your current gcc does not support it"
+ export FORTRAN_NEED_OPENMP=1
+ fi
+ use fortran && fortran-2_pkg_setup
+}
+
+src_configure() {
+ myeconfargs+=(
+ $(use_enable fortran)
+ $(use_enable openmp omp)
+ $(use_enable quad)
+ $(use_enable fma)
+ $(use_enable sse2)
+ $(use_enable saamg)
+ $(use_enable mpi)
+ )
+ autotools-utils_src_configure
+}
+
+src_install() {
+ autotools-utils_src_install
+ use doc && dodoc doc/*.pdf
+}