From: Sebastien Fabbro Date: Mon, 19 Feb 2007 10:32:00 +0000 (+0000) Subject: amd-2.0.4: initial import X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=098c9cbea4e78d6f93f247ecd145643a32150746;p=gentoo.git amd-2.0.4: initial import Package-Manager: portage-2.1.2-r9 --- 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 + +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..f46cbca5e0b1 --- /dev/null +++ b/sci-libs/amd/Manifest @@ -0,0 +1,30 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +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 950 RMD160 834f82e952c85f9343af0f64d40826e7e9607071 SHA1 8d503cc4d54d72811617b92b0429b4658a54cd80 SHA256 983f0c7309089483ba613250525b3c4963bdd773d0222c345a58adcb7b30e45d +MD5 7d563d1414ae209b6128db83ed771cd0 amd-2.0.4.ebuild 950 +RMD160 834f82e952c85f9343af0f64d40826e7e9607071 amd-2.0.4.ebuild 950 +SHA256 983f0c7309089483ba613250525b3c4963bdd773d0222c345a58adcb7b30e45d amd-2.0.4.ebuild 950 +MISC ChangeLog 391 RMD160 d4f1fbeef10915cc4e2aad378d95955c37bb2ac2 SHA1 522b68e86009fb67cce04b32b6db2790cfc9bc91 SHA256 45aa2453f6ddafde8647e10a2731e2554d72b5510e595fa0a2b918ee9223be55 +MD5 d2b274356c78c5bdda6aab246e748c23 ChangeLog 391 +RMD160 d4f1fbeef10915cc4e2aad378d95955c37bb2ac2 ChangeLog 391 +SHA256 45aa2453f6ddafde8647e10a2731e2554d72b5510e595fa0a2b918ee9223be55 ChangeLog 391 +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 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.6 (GNU/Linux) + +iD8DBQFF2XyrWc/Ciu+QQGkRAmn3AJ95MEqS2VYPJRIVTVgTlyK7alxfqgCePbN7 +k3HLC2zJ9ZtTWw8oudoRppo= +=Orjy +-----END PGP SIGNATURE----- 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 @@ + + + +sci + +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. + +