summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2012-01-21 18:24:45 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2012-01-21 18:24:45 +0000
commit94b9bbfbae1c5b1c522f1ece6f8536d120219530 (patch)
treee4ffeafa198e8744d7d826389266c3e95b6fa20c /sci-libs
parentVersion bump by Justin Lecher (bug #399611). (diff)
downloadgentoo-2-94b9bbfbae1c5b1c522f1ece6f8536d120219530.tar.gz
gentoo-2-94b9bbfbae1c5b1c522f1ece6f8536d120219530.tar.bz2
gentoo-2-94b9bbfbae1c5b1c522f1ece6f8536d120219530.zip
Initial import
(Portage version: 2.1.10.41/cvs/Linux x86_64)
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/lis/ChangeLog10
-rw-r--r--sci-libs/lis/Manifest5
-rw-r--r--sci-libs/lis/files/lis-1.2.62-autotools.patch215
-rw-r--r--sci-libs/lis/lis-1.2.62.ebuild50
-rw-r--r--sci-libs/lis/metadata.xml16
5 files changed, 296 insertions, 0 deletions
diff --git a/sci-libs/lis/ChangeLog b/sci-libs/lis/ChangeLog
new file mode 100644
index 000000000000..f50536133a2d
--- /dev/null
+++ b/sci-libs/lis/ChangeLog
@@ -0,0 +1,10 @@
+# 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 $
+
+*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/Manifest b/sci-libs/lis/Manifest
new file mode 100644
index 000000000000..0e76efc4d8c2
--- /dev/null
+++ b/sci-libs/lis/Manifest
@@ -0,0 +1,5 @@
+AUX lis-1.2.62-autotools.patch 10120 RMD160 4900d97d0b85b94e13e8cf13f32ab202dbb871bd SHA1 78a537c66e1c9e742812959254c38b0276c20642 SHA256 9890686c2b3db73aa72d0e251d53c16825a26f918ec58af6af22b1734ddf8264
+DIST lis-1.2.62.tar.gz 2963090 RMD160 b118ead946540751359089da7ab365fc2277af06 SHA1 49c9ad85ba623c94deb571bea6e88e8858ea93e5 SHA256 08378e66eb54bac3e3c9a55db2b42de0c4dd06047de98c912eabb8e91c6a58e5
+EBUILD lis-1.2.62.ebuild 1127 RMD160 4711f7979d14a22bbc43fc1bcf53fc13540bb250 SHA1 6bc2a417c688c6f281d41c66fb94f2fcf8b3ef48 SHA256 fa3823aceb58ba31508bc8bd3f64d0126fba8ef847179e56ecd96a012c40c50e
+MISC ChangeLog 285 RMD160 694102eab0b172e4feb1dbd8093041aaa4a0afb3 SHA1 ebed352a1667d39730fab969c3390fc367a6207d SHA256 e510ee6d04cb92e9c75a81b4535ea51744f8b6900d73c231d552466b9822454f
+MISC metadata.xml 676 RMD160 3bba580e7c327c3681ae72a523708ebf1eb34eec SHA1 9ca786135fbbb248602aca39d690680353ac0756 SHA256 d6f2bb17ccbf89baa5af5e0b9e739308ade950f373b5e7d16a7f59efa0605836
diff --git a/sci-libs/lis/files/lis-1.2.62-autotools.patch b/sci-libs/lis/files/lis-1.2.62-autotools.patch
new file mode 100644
index 000000000000..44a71e49f8d8
--- /dev/null
+++ b/sci-libs/lis/files/lis-1.2.62-autotools.patch
@@ -0,0 +1,215 @@
+diff -Nur lis-1.2.62.orig/src/esolver/Makefile.am lis-1.2.62/src/esolver/Makefile.am
+--- lis-1.2.62.orig/src/esolver/Makefile.am 2012-01-21 16:36:43.000000000 +0000
++++ lis-1.2.62/src/esolver/Makefile.am 2012-01-21 16:40:35.000000000 +0000
+@@ -8,16 +8,5 @@
+ lis_esolver_si.c \
+ lis_esolver_rqi.c
+
+-AM_CFLAGS = -I$(top_srcdir)/include
++AM_CPPFLAGS = -I$(top_srcdir)/include
+ CLEANFILES = *.il
+-
+-PPF77COMPILE = $(F77) $(AMDEFS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_FFLAGS) $(FFLAGS)
+-LTPPF77COMPILE = $(LIBTOOL) --mode=compile --tag=F77 $(F77) $(AMDEFS) $(DEFS) \
+- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+- $(AM_FFLAGS) $(FFLAGS)
+-COMPILE = $(CC) $(AMDEFS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) $(AMDEFS) $(DEFS) \
+- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+- $(AM_CFLAGS) $(CFLAGS)
+diff -Nur lis-1.2.62.orig/src/fortran/amg/Makefile.am lis-1.2.62/src/fortran/amg/Makefile.am
+--- lis-1.2.62.orig/src/fortran/amg/Makefile.am 2012-01-21 16:36:43.000000000 +0000
++++ lis-1.2.62/src/fortran/amg/Makefile.am 2012-01-21 17:03:17.000000000 +0000
+@@ -25,25 +25,6 @@
+
+ CLEANFILES = *.mod
+ AM_CPPFLAGS = -I$(top_srcdir)/include
+-FCCOMPILE = $(FC) $(AMDEFS) $(AM_FCFLAGS) $(FCFLAGS)
+-LTFCCOMPILE = $(LIBTOOL) --mode=compile $(FC) $(AMDEFS) $(AM_FCFLAGS) $(FCFLAGS)
+-FCLD = $(FC)
+-FCLINK = $(LIBTOOL) --mode=link $(FCLD) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-PPFCCOMPILE = $(FC) $(AMDEFS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_FCFLAGS) $(FCFLAGS)
+-LTPPFCCOMPILE = $(LIBTOOL) --mode=compile $(FC) $(AMDEFS) $(DEFS) \
+- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+- $(AM_FCFLAGS) $(FCFLAGS)
+-PPF77COMPILE = $(F77) $(AMDEFS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_FFLAGS) $(FFLAGS)
+-LTPPF77COMPILE = $(LIBTOOL) --mode=compile --tag=F77 $(F77) $(AMDEFS) $(DEFS) \
+- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+- $(AM_FFLAGS) $(FFLAGS)
+-COMPILE = $(CC) $(AMDEFS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) $(AMDEFS) $(DEFS) \
+- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+- $(AM_CFLAGS) $(CFLAGS)
+
+ .NOTPARALLEL:
+ .NO_PARALLEL:
+diff -Nur lis-1.2.62.orig/src/fortran/Makefile.am lis-1.2.62/src/fortran/Makefile.am
+--- lis-1.2.62.orig/src/fortran/Makefile.am 2012-01-21 16:36:43.000000000 +0000
++++ lis-1.2.62/src/fortran/Makefile.am 2012-01-21 16:41:13.000000000 +0000
+@@ -9,14 +9,3 @@
+
+ AM_CPPFLAGS = -I$(top_srcdir)/include
+ CLEANFILES = *.il
+-
+-PPF77COMPILE = $(F77) $(AMDEFS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_FFLAGS) $(FFLAGS)
+-LTPPF77COMPILE = $(LIBTOOL) --mode=compile --tag=F77 $(F77) $(AMDEFS) $(DEFS) \
+- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+- $(AM_FFLAGS) $(FFLAGS)
+-COMPILE = $(CC) $(AMDEFS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) $(AMDEFS) $(DEFS) \
+- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+- $(AM_CFLAGS) $(CFLAGS)
+diff -Nur lis-1.2.62.orig/src/matrix/Makefile.am lis-1.2.62/src/matrix/Makefile.am
+--- lis-1.2.62.orig/src/matrix/Makefile.am 2012-01-21 16:36:43.000000000 +0000
++++ lis-1.2.62/src/matrix/Makefile.am 2012-01-21 16:38:44.000000000 +0000
+@@ -18,16 +18,6 @@
+ lis_matrix_rco.c \
+ lis_matrix_vbr.c
+
+-AM_CFLAGS = -I$(top_srcdir)/include $(ILIBS)
++AM_CPPFLAGS = -I$(top_srcdir)/include $(ILIBS)
+ CLEANFILES = *.il
+
+-PPF77COMPILE = $(F77) $(AMDEFS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_FFLAGS) $(FFLAGS)
+-LTPPF77COMPILE = $(LIBTOOL) --mode=compile --tag=F77 $(F77) $(AMDEFS) $(DEFS) \
+- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+- $(AM_FFLAGS) $(FFLAGS)
+-COMPILE = $(CC) $(AMDEFS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) $(AMDEFS) $(DEFS) \
+- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+- $(AM_CFLAGS) $(CFLAGS)
+diff -Nur lis-1.2.62.orig/src/matvec/Makefile.am lis-1.2.62/src/matvec/Makefile.am
+--- lis-1.2.62.orig/src/matvec/Makefile.am 2012-01-21 16:36:43.000000000 +0000
++++ lis-1.2.62/src/matvec/Makefile.am 2012-01-21 16:39:27.000000000 +0000
+@@ -13,16 +13,5 @@
+ lis_matvec_vbr.c
+
+
+-AM_CFLAGS = -I$(top_srcdir)/include
++AM_CPPFLAGS = -I$(top_srcdir)/include
+ CLEANFILES = *.il
+-
+-PPF77COMPILE = $(F77) $(AMDEFS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_FFLAGS) $(FFLAGS)
+-LTPPF77COMPILE = $(LIBTOOL) --mode=compile --tag=F77 $(F77) $(AMDEFS) $(DEFS) \
+- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+- $(AM_FFLAGS) $(FFLAGS)
+-COMPILE = $(CC) $(AMDEFS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) $(AMDEFS) $(DEFS) \
+- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+- $(AM_CFLAGS) $(CFLAGS)
+diff -Nur lis-1.2.62.orig/src/precision/Makefile.am lis-1.2.62/src/precision/Makefile.am
+--- lis-1.2.62.orig/src/precision/Makefile.am 2012-01-21 16:36:43.000000000 +0000
++++ lis-1.2.62/src/precision/Makefile.am 2012-01-21 16:39:50.000000000 +0000
+@@ -4,16 +4,5 @@
+ lis_precision_matvec.c
+
+
+-AM_CFLAGS = -I$(top_srcdir)/include $(MPFLAG)
++AM_CPPFLAGS = -I$(top_srcdir)/include $(MPFLAG)
+ CLEANFILES = *.il
+-
+-PPF77COMPILE = $(F77) $(AMDEFS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_FFLAGS) $(FFLAGS)
+-LTPPF77COMPILE = $(LIBTOOL) --mode=compile --tag=F77 $(F77) $(AMDEFS) $(DEFS) \
+- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+- $(AM_FFLAGS) $(FFLAGS)
+-COMPILE = $(CC) $(AMDEFS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) $(AMDEFS) $(DEFS) \
+- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+- $(AM_CFLAGS) $(CFLAGS)
+diff -Nur lis-1.2.62.orig/src/precon/Makefile.am lis-1.2.62/src/precon/Makefile.am
+--- lis-1.2.62.orig/src/precon/Makefile.am 2012-01-21 16:36:43.000000000 +0000
++++ lis-1.2.62/src/precon/Makefile.am 2012-01-21 16:40:11.000000000 +0000
+@@ -12,16 +12,5 @@
+ lis_precon_ssor.c
+
+
+-AM_CFLAGS = -I$(top_srcdir)/include
++AM_CPPFLAGS = -I$(top_srcdir)/include
+ CLEANFILES = *.il
+-
+-PPF77COMPILE = $(F77) $(AMDEFS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_FFLAGS) $(FFLAGS)
+-LTPPF77COMPILE = $(LIBTOOL) --mode=compile --tag=F77 $(F77) $(AMDEFS) $(DEFS) \
+- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+- $(AM_FFLAGS) $(FFLAGS)
+-COMPILE = $(CC) $(AMDEFS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) $(AMDEFS) $(DEFS) \
+- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+- $(AM_CFLAGS) $(CFLAGS)
+diff -Nur lis-1.2.62.orig/src/solver/Makefile.am lis-1.2.62/src/solver/Makefile.am
+--- lis-1.2.62.orig/src/solver/Makefile.am 2012-01-21 16:36:43.000000000 +0000
++++ lis-1.2.62/src/solver/Makefile.am 2012-01-21 16:40:55.000000000 +0000
+@@ -17,16 +17,5 @@
+ lis_solver_sor.c
+
+
+-AM_CFLAGS = -I$(top_srcdir)/include
++AM_CPPFLAGS = -I$(top_srcdir)/include
+ CLEANFILES = *.il
+-
+-PPF77COMPILE = $(F77) $(AMDEFS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_FFLAGS) $(FFLAGS)
+-LTPPF77COMPILE = $(LIBTOOL) --mode=compile --tag=F77 $(F77) $(AMDEFS) $(DEFS) \
+- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+- $(AM_FFLAGS) $(FFLAGS)
+-COMPILE = $(CC) $(AMDEFS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) $(AMDEFS) $(DEFS) \
+- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+- $(AM_CFLAGS) $(CFLAGS)
+diff -Nur lis-1.2.62.orig/src/system/Makefile.am lis-1.2.62/src/system/Makefile.am
+--- lis-1.2.62.orig/src/system/Makefile.am 2012-01-21 16:36:43.000000000 +0000
++++ lis-1.2.62/src/system/Makefile.am 2012-01-21 16:41:32.000000000 +0000
+@@ -13,16 +13,5 @@
+ mt19937ar.c
+
+
+-AM_CFLAGS = -I$(top_srcdir)/include
++AM_CPPFLAGS = -I$(top_srcdir)/include
+ CLEANFILES = *.il
+-
+-PPF77COMPILE = $(F77) $(AMDEFS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_FFLAGS) $(FFLAGS)
+-LTPPF77COMPILE = $(LIBTOOL) --mode=compile --tag=F77 $(F77) $(AMDEFS) $(DEFS) \
+- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+- $(AM_FFLAGS) $(FFLAGS)
+-COMPILE = $(CC) $(AMDEFS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) $(AMDEFS) $(DEFS) \
+- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+- $(AM_CFLAGS) $(CFLAGS)
+diff -Nur lis-1.2.62.orig/src/vector/Makefile.am lis-1.2.62/src/vector/Makefile.am
+--- lis-1.2.62.orig/src/vector/Makefile.am 2012-01-21 16:36:43.000000000 +0000
++++ lis-1.2.62/src/vector/Makefile.am 2012-01-21 16:39:10.000000000 +0000
+@@ -4,16 +4,5 @@
+ lis_vector_opv.c
+
+
+-AM_CFLAGS = -I$(top_srcdir)/include
++AM_CPPFLAGS = -I$(top_srcdir)/include
+ CLEANFILES = *.il
+-
+-PPF77COMPILE = $(F77) $(AMDEFS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_FFLAGS) $(FFLAGS)
+-LTPPF77COMPILE = $(LIBTOOL) --mode=compile --tag=F77 $(F77) $(AMDEFS) $(DEFS) \
+- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+- $(AM_FFLAGS) $(FFLAGS)
+-COMPILE = $(CC) $(AMDEFS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) $(AMDEFS) $(DEFS) \
+- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+- $(AM_CFLAGS) $(CFLAGS)
diff --git a/sci-libs/lis/lis-1.2.62.ebuild b/sci-libs/lis/lis-1.2.62.ebuild
new file mode 100644
index 000000000000..0ec8906cd39d
--- /dev/null
+++ b/sci-libs/lis/lis-1.2.62.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.62.ebuild,v 1.1 2012/01/21 18:24:45 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"
+IUSE="doc fma fortran mpi openmp quad saamg sse2 static-libs"
+
+RDEPEND="mpi? ( virtual/mpi )"
+DEPEND="${RDEPEND}
+ fortran? ( virtual/fortran )"
+
+PATCHES=( ${FILESDIR}/${P}-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
+}
diff --git a/sci-libs/lis/metadata.xml b/sci-libs/lis/metadata.xml
new file mode 100644
index 000000000000..1df84d99b1a2
--- /dev/null
+++ b/sci-libs/lis/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci</herd>
+<longdescription lang='en'>
+ Lis, a Library of Iterative Solvers for linear systems, is a
+ scalable parallel library for solving systems of linear equations
+ and standard eigenvalue problems with real sparse matrices using
+ iterative methods.
+</longdescription>
+<use>
+ <flag name='saamg'>Build the Smoothed Aggregation Algebraic MultiGrid preconditioner</flag>
+ <flag name='quad'>Enable quadruple precision operations</flag>
+ <flag name='fma'>Use the Fused Multiply Add instruction set (x86 arches)</flag>
+</use>
+</pkgmetadata>