summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/amd')
-rw-r--r--sci-libs/amd/Manifest1
-rw-r--r--sci-libs/amd/amd-2.3.1.ebuild29
-rw-r--r--sci-libs/amd/metadata.xml10
3 files changed, 40 insertions, 0 deletions
diff --git a/sci-libs/amd/Manifest b/sci-libs/amd/Manifest
new file mode 100644
index 000000000000..5dca5550f72d
--- /dev/null
+++ b/sci-libs/amd/Manifest
@@ -0,0 +1 @@
+DIST amd-2.3.1.tar.bz2 339970 SHA256 35f60a47000ec39c8328d621b6d8f249ccf6c12f0ebc809272e16f7d4a8a430c SHA512 19b8c010e0f7a5a96e60fe52904b2b548fb89dfaf9d6f99184df955a732ec3edef04acff01a82a909e030c3bf78c9eccfe0c329731edb29f4b936507e39d885e WHIRLPOOL 737fe5eb785f09bea7a693421b547a0ec18c8428b19efb2890c8573895333862522ece1af00c24156d83ed0888b11c59d9c0ee3ea125ed8cb216d718343f6874
diff --git a/sci-libs/amd/amd-2.3.1.ebuild b/sci-libs/amd/amd-2.3.1.ebuild
new file mode 100644
index 000000000000..a68446a9c763
--- /dev/null
+++ b/sci-libs/amd/amd-2.3.1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit autotools-utils fortran-2
+
+DESCRIPTION="Library to order a sparse matrix prior to Cholesky factorization"
+HOMEPAGE="http://www.cise.ufl.edu/research/sparse/amd"
+SRC_URI="http://dev.gentoo.org/~bicatali/distfiles/${P}.tar.bz2"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="amd64 ~arm hppa ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~amd64-linux ~x86-linux ~x86-macos"
+IUSE="doc fortran static-libs"
+
+RDEPEND="sci-libs/suitesparseconfig"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ doc? ( virtual/latex-base )"
+
+src_configure() {
+ local myeconfargs=(
+ $(use_enable fortran)
+ $(use_with doc)
+ )
+ autotools-utils_src_configure
+}
diff --git a/sci-libs/amd/metadata.xml b/sci-libs/amd/metadata.xml
new file mode 100644
index 000000000000..f4c85ca59868
--- /dev/null
+++ b/sci-libs/amd/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>sci</herd>
+ <longdescription lang="en">
+ AMD is a set of routines for ordering a sparse matrix prior to Cholesky
+ factorization (or for LU factorization with diagonal pivoting). There
+ are versions in both C and Fortran.
+</longdescription>
+</pkgmetadata>