summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2007-02-19 10:32:00 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2007-02-19 10:32:00 +0000
commit734b0d72d03687458119181635de685ec5c7a21a (patch)
treeda0c64e7f64296bd03934b9b6c91c90dcd477db9 /sci-libs
parentinitial import of ufconfig (diff)
downloadgentoo-2-734b0d72d03687458119181635de685ec5c7a21a.tar.gz
gentoo-2-734b0d72d03687458119181635de685ec5c7a21a.tar.bz2
gentoo-2-734b0d72d03687458119181635de685ec5c7a21a.zip
amd-2.0.4: initial import
(Portage version: 2.1.2-r9)
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/amd/ChangeLog10
-rw-r--r--sci-libs/amd/Manifest20
-rw-r--r--sci-libs/amd/amd-2.0.4.ebuild38
-rw-r--r--sci-libs/amd/files/amd-2.0.4-autotools.patch88
-rw-r--r--sci-libs/amd/files/digest-amd-2.0.43
-rw-r--r--sci-libs/amd/metadata.xml11
6 files changed, 170 insertions, 0 deletions
diff --git a/sci-libs/amd/ChangeLog b/sci-libs/amd/ChangeLog
new file mode 100644
index 000000000000..a08be8bad8c4
--- /dev/null
+++ b/sci-libs/amd/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for sci-libs/amd
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/amd/ChangeLog,v 1.1 2007/02/19 10:32:00 bicatali Exp $
+
+*amd-2.0.4 (19 Feb 2007)
+
+ 19 Feb 2007; Sébastien Fabbro <bicatali@gentoo.org>
+ +files/amd-2.0.4-autotools.patch, +metadata.xml, +amd-2.0.4.ebuild:
+ Initial import, with autotoolization.
+
diff --git a/sci-libs/amd/Manifest b/sci-libs/amd/Manifest
new file mode 100644
index 000000000000..edc39094b703
--- /dev/null
+++ b/sci-libs/amd/Manifest
@@ -0,0 +1,20 @@
+AUX amd-2.0.4-autotools.patch 2874 RMD160 86fa176d0c8da9ef0b99f9271d0bd97d7ac36f72 SHA1 6f940e78ea3ef5db0f992484b8fd69b101306b1a SHA256 29d42bbac6cd80b02c816125a44c85ccbc2a581aef3d8b426de3a9ed8d34a70f
+MD5 e8578c36274149c6941ce5bc857c97af files/amd-2.0.4-autotools.patch 2874
+RMD160 86fa176d0c8da9ef0b99f9271d0bd97d7ac36f72 files/amd-2.0.4-autotools.patch 2874
+SHA256 29d42bbac6cd80b02c816125a44c85ccbc2a581aef3d8b426de3a9ed8d34a70f files/amd-2.0.4-autotools.patch 2874
+DIST AMD-2.0.4.tar.gz 269038 RMD160 559a871b10db884d6fe7dcd2c0b8bbf4b1d48d1c SHA1 2ab55cf96d41beddf55afaed402593acf9c7da34 SHA256 08b554519571ab79eb2b3b62102cd4f6d8e87657722754eb175b5f4aa6ff438f
+EBUILD amd-2.0.4.ebuild 857 RMD160 ca9a4cc3eff61b11fb7a3d9827a67cfec1f54f1d SHA1 83362046582be3584228325dfd99df9e95dab9c1 SHA256 06ba5e9fdadd82daef0cfb96e30ad744b8a79ac23ff3960de2eae344c55f7a7f
+MD5 c2634ba6855b306182bd6733d8602189 amd-2.0.4.ebuild 857
+RMD160 ca9a4cc3eff61b11fb7a3d9827a67cfec1f54f1d amd-2.0.4.ebuild 857
+SHA256 06ba5e9fdadd82daef0cfb96e30ad744b8a79ac23ff3960de2eae344c55f7a7f amd-2.0.4.ebuild 857
+MISC ChangeLog 305 RMD160 d46109fbd5fbeedcdd346c302f20f221878cfedd SHA1 c03651c14728bea25fc6df9247825736ae535c6f SHA256 23f52c42dc0d7bb1b0dcd7337a818f5262b8898e6a5f165f176d33595a93b081
+MD5 d51c47502d4647714cda38e4d2ed5431 ChangeLog 305
+RMD160 d46109fbd5fbeedcdd346c302f20f221878cfedd ChangeLog 305
+SHA256 23f52c42dc0d7bb1b0dcd7337a818f5262b8898e6a5f165f176d33595a93b081 ChangeLog 305
+MISC metadata.xml 477 RMD160 862cf002fe528fd7da887cab28f90543039f4cce SHA1 f2dcbe5f6d5a2a6054929827b0ab33fd312498a0 SHA256 23293ac4525f781e34728c4faea25ecd9ac2f98a3b6c843a5dc83a1160c8ed2c
+MD5 5b428bfa5e1aeb32c9cf39a756305eca metadata.xml 477
+RMD160 862cf002fe528fd7da887cab28f90543039f4cce metadata.xml 477
+SHA256 23293ac4525f781e34728c4faea25ecd9ac2f98a3b6c843a5dc83a1160c8ed2c metadata.xml 477
+MD5 364b1c86d85bdde2690d94b32a695b2e files/digest-amd-2.0.4 229
+RMD160 7264d7cc995c29b63e4f1efc750c6143ac280ca0 files/digest-amd-2.0.4 229
+SHA256 35aed9f73cbb9d41f58d90459c2db6e2c7e00426be289cd6704d2bb0ec12b8d5 files/digest-amd-2.0.4 229
diff --git a/sci-libs/amd/amd-2.0.4.ebuild b/sci-libs/amd/amd-2.0.4.ebuild
new file mode 100644
index 000000000000..f747262ebb76
--- /dev/null
+++ b/sci-libs/amd/amd-2.0.4.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/amd/amd-2.0.4.ebuild,v 1.1 2007/02/19 10:32:00 bicatali Exp $
+
+inherit autotools eutils fortran
+
+MY_PN=AMD
+DESCRIPTION="Library to order a sparse matrix prior to Cholesky factorization"
+HOMEPAGE="http://www.cise.ufl.edu/research/sparse/amd"
+SRC_URI="http://www.cise.ufl.edu/research/sparse/${PN}/${MY_PN}-${PV}.tar.gz"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+DEPEND="sci-libs/ufconfig"
+
+S="${WORKDIR}/${MY_PN}"
+
+FORTRAN="gfortran g77 ifc"
+
+src_unpack() {
+ fortran_src_unpack
+ cd "${WORKDIR}"
+ epatch "${FILESDIR}"/${P}-autotools.patch
+ cd "${S}"
+ rm -f Makefile */*akefile
+ eautoreconf
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || "emake install failed"
+ dodoc README.txt Doc/ChangeLog
+ if use doc; then
+ insinto /usr/share/doc/${PF}
+ doins Doc/AMD_UserGuide.pdf
+ fi
+}
diff --git a/sci-libs/amd/files/amd-2.0.4-autotools.patch b/sci-libs/amd/files/amd-2.0.4-autotools.patch
new file mode 100644
index 000000000000..9beb832f899f
--- /dev/null
+++ b/sci-libs/amd/files/amd-2.0.4-autotools.patch
@@ -0,0 +1,88 @@
+diff -Nur AMD.orig/Demo/Makefile.am AMD/Demo/Makefile.am
+--- AMD.orig/Demo/Makefile.am 1970-01-01 01:00:00.000000000 +0100
++++ AMD/Demo/Makefile.am 2007-02-16 18:09:36.000000000 +0000
+@@ -0,0 +1,42 @@
++AM_CPPFLAGS = -I$(top_srcdir)/Include
++AM_LDFLAGS = -lm
++check_PROGRAMS = \
++ amd_simple \
++ amd_demo \
++ amd_demo2 \
++ amd_l_demo \
++ amd_f77demo \
++ amd_f77simple \
++ amd_f77cross
++
++amd_demo_SOURCES = amd_demo.c
++amd_demo_LDADD = $(top_builddir)/Source/libamd.la
++
++amd_l_demo_SOURCES = amd_l_demo.c
++amd_l_demo_LDADD = $(top_builddir)/Source/libamd.la
++
++amd_demo2_SOURCES = amd_demo2.c
++amd_demo2_LDADD = $(top_builddir)/Source/libamd.la
++
++amd_simple_SOURCES = amd_simple.c
++amd_simple_LDADD = $(top_builddir)/Source/libamd.la
++
++amd_f77demo_SOURCES = amd_f77demo.f
++amd_f77demo_LDADD = $(top_builddir)/Source/libamd.la $(top_builddir)/Source/libamdf77.la
++
++amd_f77simple_SOURCES = amd_f77simple.f
++amd_f77simple_LDADD = $(top_builddir)/Source/libamd.la $(top_builddir)/Source/libamdf77.la
++
++amd_f77wrapper_CPPFLAGS = -DDINT
++amd_f77cross_SOURCES = amd_f77cross.f amd_f77wrapper.f
++amd_f77cross_LDADD = $(top_builddir)/Source/libamd.la \
++ $(top_builddir)/Source/libamdf77.la
++
++check-local:
++ @for i in $(ALL_TEST); do \
++ $$i > my_$$i.out; \
++ - diff $$i.out my_$$i.out; \
++ done;
++
++clean-local:
++ rm -f my*.out
+diff -Nur AMD.orig/Makefile.am AMD/Makefile.am
+--- AMD.orig/Makefile.am 1970-01-01 01:00:00.000000000 +0100
++++ AMD/Makefile.am 2007-02-17 19:42:32.000000000 +0000
+@@ -0,0 +1,3 @@
++SUBDIRS = Demo Source
++EXTRA_DIST = README.txt
++include_HEADERS = Include/amd.h Include/amd_internal.h
+diff -Nur AMD.orig/Source/Makefile.am AMD/Source/Makefile.am
+--- AMD.orig/Source/Makefile.am 1970-01-01 01:00:00.000000000 +0100
++++ AMD/Source/Makefile.am 2007-02-19 00:20:25.000000000 +0000
+@@ -0,0 +1,15 @@
++AMDCSRC = amd_aat.c amd_1.c amd_2.c amd_dump.c amd_postorder.c amd_post_tree.c amd_defaults.c \
++ amd_order.c amd_control.c amd_info.c amd_valid.c amd_preprocess.c
++
++lib_LTLIBRARIES = libamd.la libamdf77.la
++noinst_LTLIBRARIES = libamdi.la libamdl.la
++AM_CPPFLAGS = -I$(top_srcdir)/Include
++
++libamdi_la_SOURCES = $(AMDCSRC)
++libamdi_la_CPPFLAGS = $(AM_CPPFLAGS) -DDINT
++libamdl_la_SOURCES = $(AMDCSRC)
++libamdl_la_CPPFLAGS = $(AM_CPPFLAGS) -DDLONG
++
++libamd_la_SOURCES = amd_global.c
++libamd_la_LIBADD = libamdl.la libamdi.la
++libamdf77_la_SOURCES = amd.f amdbar.f
+diff -Nur AMD.orig/configure.ac AMD/configure.ac
+--- AMD.orig/configure.ac 1970-01-01 01:00:00.000000000 +0100
++++ AMD/configure.ac 2007-02-18 23:30:10.000000000 +0000
+@@ -0,0 +1,12 @@
++# -*- Autoconf -*-
++AC_PREREQ(2.59)
++AC_INIT(amd, 2.0.4, davis@cise.ufl.edu)
++AM_INIT_AUTOMAKE([foreign])
++AC_PROG_INSTALL
++AC_PROG_F77
++AC_PROG_LIBTOOL
++AC_CHECK_LIB(m, sqrt)
++AC_CONFIG_FILES([Source/Makefile
++ Demo/Makefile
++ Makefile])
++AC_OUTPUT
diff --git a/sci-libs/amd/files/digest-amd-2.0.4 b/sci-libs/amd/files/digest-amd-2.0.4
new file mode 100644
index 000000000000..956a606252cb
--- /dev/null
+++ b/sci-libs/amd/files/digest-amd-2.0.4
@@ -0,0 +1,3 @@
+MD5 201fda133ebb4dca6793347cc15f4289 AMD-2.0.4.tar.gz 269038
+RMD160 559a871b10db884d6fe7dcd2c0b8bbf4b1d48d1c AMD-2.0.4.tar.gz 269038
+SHA256 08b554519571ab79eb2b3b62102cd4f6d8e87657722754eb175b5f4aa6ff438f AMD-2.0.4.tar.gz 269038
diff --git a/sci-libs/amd/metadata.xml b/sci-libs/amd/metadata.xml
new file mode 100644
index 000000000000..896b0f21b2c3
--- /dev/null
+++ b/sci-libs/amd/metadata.xml
@@ -0,0 +1,11 @@
+<?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. A MATLAB interface is provided.
+Note that this software has nothing to do with AMD the company.
+</longdescription>
+</pkgmetadata>