summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2008-02-05 18:15:41 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2008-02-05 18:15:41 +0000
commit5504a1a4742ef96b7116f43b944ddf88fdeb792b (patch)
tree6a38d174f2b8ead54b82e9ee2d8147c3a13c182d /sci-libs
parentStable for HPPA (bug #208922). (diff)
downloadhistorical-5504a1a4742ef96b7116f43b944ddf88fdeb792b.tar.gz
historical-5504a1a4742ef96b7116f43b944ddf88fdeb792b.tar.bz2
historical-5504a1a4742ef96b7116f43b944ddf88fdeb792b.zip
Initial import. Thanks to Justin Bronder for his work, see bug #173900
Package-Manager: portage-2.1.4
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/camd/ChangeLog10
-rw-r--r--sci-libs/camd/Manifest5
-rw-r--r--sci-libs/camd/camd-2.2.0.ebuild34
-rw-r--r--sci-libs/camd/files/camd-2.2.0-autotools.patch70
-rw-r--r--sci-libs/camd/metadata.xml10
-rw-r--r--sci-libs/ccolamd/ChangeLog11
-rw-r--r--sci-libs/ccolamd/Manifest5
-rw-r--r--sci-libs/ccolamd/ccolamd-2.7.1.ebuild30
-rw-r--r--sci-libs/ccolamd/files/ccolamd-2.7.1-autotools.patch60
-rw-r--r--sci-libs/ccolamd/metadata.xml10
-rw-r--r--sci-libs/colamd/ChangeLog10
-rw-r--r--sci-libs/colamd/Manifest5
-rw-r--r--sci-libs/colamd/colamd-2.7.1.ebuild30
-rw-r--r--sci-libs/colamd/files/colamd-2.7.1-autotools.patch58
-rw-r--r--sci-libs/colamd/metadata.xml17
-rw-r--r--sci-libs/cxsparse/ChangeLog11
-rw-r--r--sci-libs/cxsparse/Manifest15
-rw-r--r--sci-libs/cxsparse/cxsparse-2.2.1.ebuild30
-rw-r--r--sci-libs/cxsparse/files/cxsparse-2.2.1-autotools.patch152
-rw-r--r--sci-libs/cxsparse/metadata.xml9
20 files changed, 582 insertions, 0 deletions
diff --git a/sci-libs/camd/ChangeLog b/sci-libs/camd/ChangeLog
new file mode 100644
index 000000000000..c0a9331704d8
--- /dev/null
+++ b/sci-libs/camd/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for sci-libs/camd
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/camd/ChangeLog,v 1.1 2008/02/05 18:06:35 bicatali Exp $
+
+*camd-2.2.0 (05 Feb 2008)
+
+ 05 Feb 2008; Sébastien Fabbro <bicatali@gentoo.org>
+ +files/camd-2.2.0-autotools.patch, +metadata.xml, +camd-2.2.0.ebuild:
+ Initial import. Thanks to Justin Bronder for his work, see bug #173900
+
diff --git a/sci-libs/camd/Manifest b/sci-libs/camd/Manifest
new file mode 100644
index 000000000000..6176dc3ec2c8
--- /dev/null
+++ b/sci-libs/camd/Manifest
@@ -0,0 +1,5 @@
+AUX camd-2.2.0-autotools.patch 2008 RMD160 c0ed2dff5684354bce8e1e224f39d972f334025d SHA1 769b095662ad2cb2e9fe2b36331c5e609d8e4b08 SHA256 55765472aa0fea869193281cd12a8a453ce63aca89e97832b169b8d73f63951f
+DIST CAMD-2.2.0.tar.gz 227593 RMD160 ac91f020edac556d19fb23a5f88dfd0837f85b0a SHA1 02d323da119d3203714b3c1948f62c9813ba39a7 SHA256 a8a2254335e7dfbca7e19904fdf1a5e6149c41e141356d08121e6f806b209f45
+EBUILD camd-2.2.0.ebuild 829 RMD160 64f309cc9da1bb50434b1a2ac79c0df55f46a4da SHA1 f5d9ed6b24e7775ad18a87744c5ebeec512885e6 SHA256 5255533a7e30b2d9a3edc25fcab2046cf259a6566d6dc4e7c517d18e70c4c3f2
+MISC ChangeLog 342 RMD160 ff5693310b39f73c0b937ca0fb8146b18eef367e SHA1 773a83031297e09fbc59e13a16d67869b4d5afa7 SHA256 4aa8164f86ddce7cd189b2bbe0fdbb7920185517a6808766e0e8d9f4a51b6a26
+MISC metadata.xml 388 RMD160 c113858b95883d16cf651a79d3b47e77b67d049e SHA1 474d7347b0459d0bf364eeba4a9675d1482c5b88 SHA256 956c7962863742a1d11c50b38da36d666bd5f5b3054c80b5c317324f209ca22f
diff --git a/sci-libs/camd/camd-2.2.0.ebuild b/sci-libs/camd/camd-2.2.0.ebuild
new file mode 100644
index 000000000000..108e481fe862
--- /dev/null
+++ b/sci-libs/camd/camd-2.2.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/camd/camd-2.2.0.ebuild,v 1.1 2008/02/05 18:06:35 bicatali Exp $
+
+inherit autotools eutils
+
+MY_PN=CAMD
+DESCRIPTION="Library to order a sparse matrix prior to Cholesky factorization"
+HOMEPAGE="http://www.cise.ufl.edu/research/sparse/camd"
+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}"
+
+src_unpack() {
+ unpack "${A}"
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-autotools.patch
+ eautoreconf
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc README.txt Doc/ChangeLog || die "dodoc failed"
+ if use doc; then
+ insinto /usr/share/doc/${PF}
+ doins Doc/CAMD_UserGuide.pdf || die "pdf install failed"
+ fi
+}
diff --git a/sci-libs/camd/files/camd-2.2.0-autotools.patch b/sci-libs/camd/files/camd-2.2.0-autotools.patch
new file mode 100644
index 000000000000..aa73d68de1b5
--- /dev/null
+++ b/sci-libs/camd/files/camd-2.2.0-autotools.patch
@@ -0,0 +1,70 @@
+--- configure.ac 1970-01-01 01:00:00.000000000 +0100
++++ configure.ac 2008-01-31 15:35:15.579030692 +0000
+@@ -0,0 +1,12 @@
++# -*- Autoconf -*-
++AC_PREREQ(2.59)
++AC_INIT(camd, 2.2.0, davis@cise.ufl.edu)
++AM_INIT_AUTOMAKE([foreign])
++AC_PROG_INSTALL
++AC_PROG_LIBTOOL
++AC_CHECK_LIB(m, sqrt)
++AC_CHECK_HEADERS(UFconfig.h)
++AC_CONFIG_FILES([Source/Makefile
++ Demo/Makefile
++ Makefile])
++AC_OUTPUT
+--- ./Demo/Makefile.am 1970-01-01 01:00:00.000000000 +0100
++++ ./Demo/Makefile.am 2008-01-31 15:36:57.492838429 +0000
+@@ -0,0 +1,26 @@
++AM_CPPFLAGS = -I$(top_srcdir)/Include
++check_PROGRAMS = \
++ camd_demo \
++ camd_l_demo \
++ camd_demo2 \
++ camd_simple
++
++LDADD = $(top_builddir)/Source/libcamd.la -lm
++
++camd_demo_SOURCES = camd_demo.c
++camd_l_demo_SOURCES = camd_l_demo.c
++camd_demo2_SOURCES = camd_demo2.c
++camd_simple_SOURCES = camd_simple.c
++
++check-local: $(check_PROGRAMS)
++ @for i in $(check_PROGRAMS); do \
++ echo "Testing $$i"; \
++ ./$$i > my_$$i.out; \
++ if ! diff $$i.out my_$$i.out; then \
++ echo "Test $$i failed!"; \
++ exit 1; \
++ fi \
++ done;
++
++clean-local:
++ rm -f my*.out
+--- ./Source/Makefile.am 1970-01-01 01:00:00.000000000 +0100
++++ ./Source/Makefile.am 2008-01-31 15:37:17.205961816 +0000
+@@ -0,0 +1,17 @@
++CAMDCSRC = \
++ camd_aat.c camd_1.c camd_2.c camd_dump.c camd_postorder.c \
++ camd_defaults.c camd_order.c camd_control.c camd_info.c \
++ camd_valid.c camd_preprocess.c
++
++lib_LTLIBRARIES = libcamd.la
++noinst_LTLIBRARIES = libcamdi.la libcamdl.la
++AM_CPPFLAGS = -I$(top_srcdir)/Include
++
++libcamdi_la_SOURCES = $(CAMDCSRC)
++libcamdi_la_CPPFLAGS = $(AM_CPPFLAGS) -DDINT
++libcamdl_la_SOURCES = $(CAMDCSRC)
++libcamdl_la_CPPFLAGS = $(AM_CPPFLAGS) -DDLONG
++
++libcamd_la_SOURCES = camd_global.c
++libcamd_la_LIBADD = libcamdl.la libcamdi.la -lm
++
+--- ./Makefile.am 1970-01-01 01:00:00.000000000 +0100
++++ ./Makefile.am 2008-01-31 15:34:59.202097424 +0000
+@@ -0,0 +1,3 @@
++SUBDIRS = Demo Source
++EXTRA_DIST = README.txt
++include_HEADERS = Include/camd.h Include/camd_internal.h
diff --git a/sci-libs/camd/metadata.xml b/sci-libs/camd/metadata.xml
new file mode 100644
index 000000000000..29134883ffec
--- /dev/null
+++ b/sci-libs/camd/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">
+ CAMD 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>
diff --git a/sci-libs/ccolamd/ChangeLog b/sci-libs/ccolamd/ChangeLog
new file mode 100644
index 000000000000..7501756788a6
--- /dev/null
+++ b/sci-libs/ccolamd/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for sci-libs/ccolamd
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/ccolamd/ChangeLog,v 1.1 2008/02/05 18:10:40 bicatali Exp $
+
+*ccolamd-2.7.1 (05 Feb 2008)
+
+ 05 Feb 2008; Sébastien Fabbro <bicatali@gentoo.org>
+ +files/ccolamd-2.7.1-autotools.patch, +metadata.xml,
+ +ccolamd-2.7.1.ebuild:
+ Initial import. Thanks to Justin Bronder for his work, see bug #173900
+
diff --git a/sci-libs/ccolamd/Manifest b/sci-libs/ccolamd/Manifest
new file mode 100644
index 000000000000..e23dd5aafae6
--- /dev/null
+++ b/sci-libs/ccolamd/Manifest
@@ -0,0 +1,5 @@
+AUX ccolamd-2.7.1-autotools.patch 1790 RMD160 cb6e265651b69a5851f50d118a375e428e81abc9 SHA1 84bb9281cd8ad916012ae1e7b9d2f1228d6758db SHA256 ee87aadb77f0f66e07ef1587df314f4aa07e363bad6d8d890831cf8348349d8f
+DIST CCOLAMD-2.7.1.tar.gz 62591 RMD160 91c0aa53f5d20b75d4754242c2eaaa8750ff299d SHA1 fae4127f72f9409360ebc1f5927c62ad1d8e2a2c SHA256 9fd040484e092d857e5c6678faa91a17397b1057c95881f22a92ac8bf2f1e09c
+EBUILD ccolamd-2.7.1.ebuild 720 RMD160 cc22a5ea941a4ef8ecdcf264b331c93e45d9fe1b SHA1 ea5f21dd1160dda6ee2c84177be1a459caaa6503 SHA256 6e07bf86591944c926116a0e72ab6a1759467f750ed5a495b9d2a057c3491473
+MISC ChangeLog 356 RMD160 c2aa4c91abbc7e8d2b02069ceaa993908549f505 SHA1 3a7b64744a80848b917ccc7896a4dea4b5bb4411 SHA256 96afbb6e07e461489ebfbde41cca0a29a7224ed8b777316310a45e195dd20c08
+MISC metadata.xml 354 RMD160 e57ae37810bac6fe614caa8fedeba4d612b99663 SHA1 0209028db35aace9be5c7012d86cbfac488ff07a SHA256 136b2b2e0b5a4270598253edd7f79dd085bc6693fd109dafc7a98dc92c8b93f7
diff --git a/sci-libs/ccolamd/ccolamd-2.7.1.ebuild b/sci-libs/ccolamd/ccolamd-2.7.1.ebuild
new file mode 100644
index 000000000000..d1d62f000540
--- /dev/null
+++ b/sci-libs/ccolamd/ccolamd-2.7.1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/ccolamd/ccolamd-2.7.1.ebuild,v 1.1 2008/02/05 18:10:40 bicatali Exp $
+
+inherit autotools eutils
+
+MY_PN=CCOLAMD
+DESCRIPTION="Constrained column approximate minimum degree ordering algorithm"
+HOMEPAGE="http://www.cise.ufl.edu/research/sparse/ccolamd"
+SRC_URI="http://www.cise.ufl.edu/research/sparse/${PN}/${MY_PN}-${PV}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+DEPEND="sci-libs/ufconfig"
+
+S="${WORKDIR}/${MY_PN}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-autotools.patch
+ eautoreconf
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc README.txt Doc/ChangeLog || die "dodoc failed"
+}
diff --git a/sci-libs/ccolamd/files/ccolamd-2.7.1-autotools.patch b/sci-libs/ccolamd/files/ccolamd-2.7.1-autotools.patch
new file mode 100644
index 000000000000..6b8b069dec7a
--- /dev/null
+++ b/sci-libs/ccolamd/files/ccolamd-2.7.1-autotools.patch
@@ -0,0 +1,60 @@
+--- Makefile.am 1970-01-01 01:00:00.000000000 +0100
++++ Makefile.am 2008-01-29 18:53:56.000000000 +0000
+@@ -0,0 +1,3 @@
++SUBDIRS = Demo Source
++EXTRA_DIST = Doc/ChangeLog README.txt
++include_HEADERS = Include/ccolamd.h
+--- configure.ac 1970-01-01 01:00:00.000000000 +0100
++++ configure.ac 2008-01-29 18:54:17.000000000 +0000
+@@ -0,0 +1,13 @@
++# -*- Autoconf -*-
++AC_PREREQ(2.59)
++AC_INIT(ccolamd, 2.7.1, davis@cise.ufl.edu)
++AM_INIT_AUTOMAKE([foreign])
++AC_PROG_INSTALL
++AC_PROG_LIBTOOL
++AC_CHECK_LIB(m, sqrt)
++AC_CHECK_HEADERS(UFconfig.h)
++AC_CONFIG_FILES([
++ Source/Makefile
++ Demo/Makefile
++ Makefile])
++AC_OUTPUT
+--- Source/Makefile.am 1970-01-01 01:00:00.000000000 +0100
++++ Source/Makefile.am 2008-01-29 18:53:56.000000000 +0000
+@@ -0,0 +1,10 @@
++AM_CPPFLAGS = -I$(top_builddir)/Include
++lib_LTLIBRARIES = libccolamd.la
++noinst_LTLIBRARIES = libccolamdl.la libccolamdi.la
++
++libccolamdl_la_SOURCES = ccolamd.c
++libccolamdl_la_CPPFLAGS = $(AM_CPPFLAGS) -DDLONG
++libccolamdi_la_SOURCES = ccolamd.c
++
++libccolamd_la_SOURCES = ccolamd_global.c
++libccolamd_la_LIBADD = libccolamdl.la libccolamdi.la
+--- Demo/Makefile.am 1970-01-01 01:00:00.000000000 +0100
++++ Demo/Makefile.am 2008-01-29 18:55:44.000000000 +0000
+@@ -0,0 +1,22 @@
++AM_CPPFLAGS = -I$(top_srcdir)/Include
++
++check_PROGRAMS = \
++ ccolamd_example \
++ ccolamd_l_example
++
++LDADD = $(top_builddir)/Source/libccolamd.la -lm
++ccolamd_example_SOURCES = ccolamd_example.c
++ccolamd_l_example_SOURCES = ccolamd_l_example.c
++
++check-local: $(check_PROGRAMS)
++ @for i in $(check_PROGRAMS); do \
++ echo "Testing $$i"; \
++ ./$$i > my_$$i.out; \
++ if ! diff $$i.out my_$$i.out; then \
++ echo "Test $$i failed!"; \
++ exit 1; \
++ fi \
++ done;
++
++clean-local:
++ rm -f my*.out
diff --git a/sci-libs/ccolamd/metadata.xml b/sci-libs/ccolamd/metadata.xml
new file mode 100644
index 000000000000..20c177fb4c71
--- /dev/null
+++ b/sci-libs/ccolamd/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">
+ CCOLAMD computes an column approximate minimum degree ordering
+ algorithm, (like COLAMD), but it can also be given a set of ordering
+ constraints.
+</longdescription>
+</pkgmetadata>
diff --git a/sci-libs/colamd/ChangeLog b/sci-libs/colamd/ChangeLog
new file mode 100644
index 000000000000..47313ab4b29f
--- /dev/null
+++ b/sci-libs/colamd/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for sci-libs/colamd
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/colamd/ChangeLog,v 1.1 2008/02/05 18:02:34 bicatali Exp $
+
+*colamd-2.7.1 (05 Feb 2008)
+
+ 05 Feb 2008; Sébastien Fabbro <bicatali@gentoo.org>
+ +files/colamd-2.7.1-autotools.patch, +metadata.xml, +colamd-2.7.1.ebuild:
+ Initial import. Thanks to Justin Bronder for his work, see bug #173900
+
diff --git a/sci-libs/colamd/Manifest b/sci-libs/colamd/Manifest
new file mode 100644
index 000000000000..622a523fa2c1
--- /dev/null
+++ b/sci-libs/colamd/Manifest
@@ -0,0 +1,5 @@
+AUX colamd-2.7.1-autotools.patch 1779 RMD160 97d68418d4f9e9f67ffbd127364d4f60b5cb4e9a SHA1 2c48650ac67293990eb75224d063bc668871c328 SHA256 f672d5e0a205011e9e6a701e592188e5f0c352d0158d1a376e297e28e7d9554d
+DIST COLAMD-2.7.1.tar.gz 55906 RMD160 04acdf4a2d9d16050258a973213686a94544277a SHA1 263803878f8d9abdfa5dd6d5209c73414d99d350 SHA256 b6362c7c8454a5ef305443d44fa4a7d6a3ad19e9b2431c8356a266fd258f35af
+EBUILD colamd-2.7.1.ebuild 706 RMD160 7ff12c767ed35dad0b3f68949f7143275ecc39ef SHA1 000b29abb856c3ea87f7691a9902754e87fbdbcf SHA256 a5f3cfbe6e3021de476943517705795aca8e2bf2994f2f6034882b22588cec0e
+MISC ChangeLog 350 RMD160 ed34b7b0f7b4193685ad6f02f7f14c35e8fd0a9c SHA1 39bf6ef54b54d311fddac11abea0b155982a1adb SHA256 b4f847556a8c1134155f8541bc136cd11768705ecc617438fd0d50d4706951a9
+MISC metadata.xml 850 RMD160 3b8e03422846e9b0b2296efcc7c3e9e5e339d60f SHA1 022dbb7c82c1b6a52aed33a13c099b9562304abb SHA256 8796fed39251490a755aed9bce464371c0ed14075e90ebbdbf5a9a1aa03af309
diff --git a/sci-libs/colamd/colamd-2.7.1.ebuild b/sci-libs/colamd/colamd-2.7.1.ebuild
new file mode 100644
index 000000000000..1a0f422eb802
--- /dev/null
+++ b/sci-libs/colamd/colamd-2.7.1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/colamd/colamd-2.7.1.ebuild,v 1.1 2008/02/05 18:02:34 bicatali Exp $
+
+inherit autotools eutils
+
+MY_PN=COLAMD
+DESCRIPTION="Column approximate minimum degree ordering algorithm"
+HOMEPAGE="http://www.cise.ufl.edu/research/sparse/colamd"
+SRC_URI="http://www.cise.ufl.edu/research/sparse/${PN}/${MY_PN}-${PV}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+DEPEND="sci-libs/ufconfig"
+
+S="${WORKDIR}/${MY_PN}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-autotools.patch
+ eautoreconf
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc README.txt Doc/ChangeLog || die "dodoc failed"
+}
diff --git a/sci-libs/colamd/files/colamd-2.7.1-autotools.patch b/sci-libs/colamd/files/colamd-2.7.1-autotools.patch
new file mode 100644
index 000000000000..bb7b80fcc6f0
--- /dev/null
+++ b/sci-libs/colamd/files/colamd-2.7.1-autotools.patch
@@ -0,0 +1,58 @@
+--- Makefile.am 1970-01-01 01:00:00.000000000 +0100
++++ Makefile.am 2008-01-29 19:06:31.000000000 +0000
+@@ -0,0 +1,3 @@
++SUBDIRS = Source Demo
++include_HEADERS = $(top_srcdir)/Include/colamd.h
++EXTRA_DIST = README.txt
+--- configure.ac 1970-01-01 01:00:00.000000000 +0100
++++ configure.ac 2008-01-29 19:06:31.000000000 +0000
+@@ -0,0 +1,12 @@
++# -*- Autoconf -*-
++AC_PREREQ(2.59)
++AC_INIT(colamd, 2.7.1, davis@cise.ufl.edu)
++AM_INIT_AUTOMAKE([foreign])
++AC_PROG_INSTALL
++AC_PROG_LIBTOOL
++AC_CHECK_LIB(m, sqrt)
++AC_CHECK_HEADER( UFconfig.h )
++AC_OUTPUT(
++ Makefile \
++ Demo/Makefile \
++ Source/Makefile)
+--- Source/Makefile.am 1970-01-01 01:00:00.000000000 +0100
++++ Source/Makefile.am 2008-01-29 19:06:31.000000000 +0000
+@@ -0,0 +1,11 @@
++AM_CFLAGS = -I$(top_builddir)/Include
++lib_LTLIBRARIES = libcolamd.la
++noinst_LTLIBRARIES = libcolamdi.la libcolamdl.la
++
++libcolamdl_la_SOURCES = colamd.c
++libcolamdl_la_CPPFLAGS = -DDLONG
++
++libcolamdi_la_SOURCES = colamd.c
++
++libcolamd_la_SOURCES = colamd_global.c
++libcolamd_la_LIBADD = libcolamdi.la libcolamdl.la
+--- Demo/Makefile.am 1970-01-01 01:00:00.000000000 +0100
++++ Demo/Makefile.am 2008-01-29 19:06:31.000000000 +0000
+@@ -0,0 +1,20 @@
++LDADD = $(top_builddir)/Source/libcolamd.la
++AM_CPPFLAGS = -I$(top_srcdir)/Include
++
++check_PROGRAMS = colamd_example colamd_l_example
++colamd_example_SOURCES = colamd_example.c
++colamd_l_example_SOURCES = colamd_l_example.c
++colamd_l_example_CPPFLAGS = $(AM_CPPFLAGS) -DDLONG
++
++check-local: $(check_PROGRAMS)
++ @for i in $(check_PROGRAMS); do \
++ echo "Testing $$i"; \
++ ./$$i > my_$$i.out; \
++ if ! diff $$i.out my_$$i.out; then \
++ echo "Testing $$i failed"; \
++ exit 1; \
++ fi \
++ done;
++
++clean-local:
++ rm -f my*.out
diff --git a/sci-libs/colamd/metadata.xml b/sci-libs/colamd/metadata.xml
new file mode 100644
index 000000000000..5e7e28f3c14e
--- /dev/null
+++ b/sci-libs/colamd/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci</herd>
+<longdescription lang="en">
+ The COLAMD column approximate minimum degree ordering algorithm
+ computes a permutation vector P such that the LU factorization of A
+ (:,P) tends to be sparser than that of A. The Cholesky factorization
+ of (A (:,P))\'*(A (:,P)) will also tend to be sparser than that of
+ A\'*A. SYMAMD is a symmetric minimum degree ordering method based on
+ COLAMD, available as a MATLAB-callable function. It constructs a
+ matrix M such that M\'*M has the same pattern as A, and then uses
+ COLAMD to compute a column ordering of M. Colamd and symamd tend to be
+ faster and generate better orderings than their MATLAB counterparts,
+ colmmd and symmmd.
+</longdescription>
+</pkgmetadata>
diff --git a/sci-libs/cxsparse/ChangeLog b/sci-libs/cxsparse/ChangeLog
new file mode 100644
index 000000000000..444e6d0a768e
--- /dev/null
+++ b/sci-libs/cxsparse/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for sci-libs/cxsparse
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/cxsparse/ChangeLog,v 1.1 2008/02/05 18:15:40 bicatali Exp $
+
+*cxsparse-2.2.1 (05 Feb 2008)
+
+ 05 Feb 2008; Sébastien Fabbro <bicatali@gentoo.org>
+ +files/cxsparse-2.2.1-autotools.patch, +metadata.xml,
+ +cxsparse-2.2.1.ebuild:
+ Initial import. Thanks to Justin Bronder for his work, see bug #173900
+
diff --git a/sci-libs/cxsparse/Manifest b/sci-libs/cxsparse/Manifest
new file mode 100644
index 000000000000..d720ba4c101d
--- /dev/null
+++ b/sci-libs/cxsparse/Manifest
@@ -0,0 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX cxsparse-2.2.1-autotools.patch 5606 RMD160 eb6cdbc5ddd236d38f71a492d7d1e0ac165257a2 SHA1 b123fe275cfe3c4d65959e67c398740b1b19e032 SHA256 3b801b0a829a78377406fb6531b25c1ba8718faa996b61a88ea87b4a2b0dc295
+DIST CXSparse-2.2.1.tar.gz 1906557 RMD160 9939568820cc21fd8fb683a0f28b10281dd3fa35 SHA1 a2f9daeb028b1603ac0815c8d6a97d7851c9cd41 SHA256 07d6b6877f86c2a771b7ac001b6e6edc01480fbc851421282ede3f92dc2a00c7
+EBUILD cxsparse-2.2.1.ebuild 804 RMD160 d230a07c662cf024a7a4ad9f9ffbd11ebdb5651a SHA1 b239cd0037c3522843a0359dc926240b3302b032 SHA256 9a7cbedb9a187449488678ef4e476bc03acf142a7acf35661cb394b54ba61365
+MISC ChangeLog 451 RMD160 bc5eb43c2cafd7405299e73d08c4eb0328e8fd04 SHA1 b51d01febd77930fa445c7c4672009b6b730fbd5 SHA256 e690be8f92e50a3458581c119a83fefd8db7ad1c5cf2673c4f41f0f553cdb68d
+MISC metadata.xml 323 RMD160 f4ff580fa2d11b10c5a0e724c5aeee3b655b72fa SHA1 fbdb856fa065133917c328c101b1b079a3d64029 SHA256 695b9ec1910f70964c9d25f0ffbb305a5302bf84d79a4ca8ba06395049a80f3d
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.7 (GNU/Linux)
+
+iD8DBQFHqKfV1ycZbhPLE2ARApx+AKCOIHdsSkcLYDGLeTmKzaFNh6/2OACfdORI
+2HBpZbicAMuzE0Nt8kDaKjo=
+=2uIi
+-----END PGP SIGNATURE-----
diff --git a/sci-libs/cxsparse/cxsparse-2.2.1.ebuild b/sci-libs/cxsparse/cxsparse-2.2.1.ebuild
new file mode 100644
index 000000000000..3800a9329bcb
--- /dev/null
+++ b/sci-libs/cxsparse/cxsparse-2.2.1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/cxsparse/cxsparse-2.2.1.ebuild,v 1.1 2008/02/05 18:15:40 bicatali Exp $
+
+inherit autotools eutils
+
+MY_PN=CXSparse
+DESCRIPTION="Extended sparse matrix package."
+HOMEPAGE="http://www.cise.ufl.edu/research/sparse/cxsparse"
+SRC_URI="http://www.cise.ufl.edu/research/sparse/${MY_PN}/versions/${MY_PN}-${PV}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+DEPEND="sci-libs/ufconfig"
+
+S="${WORKDIR}/${MY_PN}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-autotools.patch
+ eautoreconf
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc README.txt Doc/ChangeLog || die "dodoc failed"
+}
diff --git a/sci-libs/cxsparse/files/cxsparse-2.2.1-autotools.patch b/sci-libs/cxsparse/files/cxsparse-2.2.1-autotools.patch
new file mode 100644
index 000000000000..26957d801f13
--- /dev/null
+++ b/sci-libs/cxsparse/files/cxsparse-2.2.1-autotools.patch
@@ -0,0 +1,152 @@
+--- Makefile.am 1970-01-01 01:00:00.000000000 +0100
++++ Makefile.am 2008-01-29 19:09:42.000000000 +0000
+@@ -0,0 +1,3 @@
++SUBDIRS = Demo Source
++EXTRA_DIST = README.txt
++include_HEADERS = Include/cs.h
+--- configure.ac 1970-01-01 01:00:00.000000000 +0100
++++ configure.ac 2008-01-29 19:14:14.000000000 +0000
+@@ -0,0 +1,11 @@
++# -*- Autoconf -*-
++AC_PREREQ(2.59)
++AC_INIT(cxsparse, 2.2.1, davis@cise.ufl.edu)
++AM_INIT_AUTOMAKE([foreign])
++AC_PROG_INSTALL
++AC_PROG_LIBTOOL
++AC_CHECK_LIB(m, sqrt)
++AC_CHECK_HEADERS(UFconfig.h)
++AC_CONFIG_FILES([Makefile Demo/Makefile Source/Makefile])
++AC_OUTPUT
++
+--- Source/Makefile.am 1970-01-01 01:00:00.000000000 +0100
++++ Source/Makefile.am 2008-01-29 19:09:42.000000000 +0000
+@@ -0,0 +1,24 @@
++AM_CPPFLAGS = -I$(top_srcdir)/Include
++CS_SOURCE = cs_add.c cs_amd.c cs_chol.c cs_cholsol.c cs_counts.c cs_cumsum.c \
++ cs_droptol.c cs_dropzeros.c cs_dupl.c cs_entry.c \
++ cs_etree.c cs_fkeep.c cs_gaxpy.c cs_happly.c cs_house.c cs_ipvec.c \
++ cs_lsolve.c cs_ltsolve.c cs_lu.c cs_lusol.c cs_util.c cs_multiply.c \
++ cs_permute.c cs_pinv.c cs_post.c cs_pvec.c cs_qr.c cs_qrsol.c \
++ cs_scatter.c cs_schol.c cs_sqr.c cs_symperm.c cs_tdfs.c cs_malloc.c \
++ cs_transpose.c cs_compress.c cs_usolve.c cs_utsolve.c cs_scc.c \
++ cs_maxtrans.c cs_dmperm.c cs_updown.c cs_print.c cs_norm.c cs_load.c \
++ cs_dfs.c cs_reach.c cs_spsolve.c cs_leaf.c cs_ereach.c cs_randperm.c
++
++lib_LTLIBRARIES = libcxsparse.la
++noinst_LTLIBRARIES = libcxsparse_di.la libcxsparse_dl.la libcxsparse_ci.la libcxsparse_cl.la
++
++libcxsparse_di_la_SOURCES = $(CS_SOURCE)
++libcxsparse_dl_la_SOURCES = $(CS_SOURCE)
++libcxsparse_dl_la_CPPFLAGS = $(AM_CPPFLAGS) -DCS_LONG
++libcxsparse_ci_la_SOURCES = $(CS_SOURCE)
++libcxsparse_ci_la_CPPFLAGS = $(AM_CPPFLAGS) -DCS_COMPLEX
++libcxsparse_cl_la_SOURCES = $(CS_SOURCE)
++libcxsparse_cl_la_CPPFLAGS = $(AM_CPPFLAGS) -DCS_LONG -DCS_COMPLEX
++
++libcxsparse_la_SOURCES = cs_convert.c
++libcxsparse_la_LIBADD = libcxsparse_di.la libcxsparse_dl.la libcxsparse_ci.la libcxsparse_cl.la
+--- Demo/Makefile.am 1970-01-01 01:00:00.000000000 +0100
++++ Demo/Makefile.am 2008-01-29 19:21:32.000000000 +0000
+@@ -0,0 +1,102 @@
++check_PROGRAMS = \
++ cs_ci_demo1 \
++ cs_ci_demo2 \
++ cs_ci_demo3 \
++ cs_cl_demo1 \
++ cs_cl_demo2 \
++ cs_cl_demo3 \
++ cs_demo1 \
++ cs_demo2 \
++ cs_demo3 \
++ cs_di_demo1 \
++ cs_di_demo2 \
++ cs_di_demo3 \
++ cs_dl_demo1 \
++ cs_dl_demo2 \
++ cs_dl_demo3 \
++ cs_idemo \
++ cs_ldemo
++
++LDADD = $(top_builddir)/Source/libcxsparse.la -lm
++AM_CPPFLAGS = -I$(top_srcdir)/Include
++
++cs_ci_demo1_SOURCES = cs_ci_demo1.c
++cs_ci_demo2_SOURCES = cs_ci_demo2.c cs_ci_demo.c
++cs_ci_demo3_SOURCES = cs_ci_demo3.c cs_ci_demo.c
++cs_cl_demo1_SOURCES = cs_cl_demo1.c
++cs_cl_demo2_SOURCES = cs_cl_demo2.c cs_cl_demo.c
++cs_cl_demo3_SOURCES = cs_cl_demo3.c cs_cl_demo.c
++cs_demo1_SOURCES = cs_demo1.c
++cs_demo2_SOURCES = cs_demo2.c cs_demo.c
++cs_demo3_SOURCES = cs_demo3.c cs_demo.c
++cs_di_demo1_SOURCES = cs_di_demo1.c
++cs_di_demo2_SOURCES = cs_di_demo2.c cs_di_demo.c
++cs_di_demo3_SOURCES = cs_di_demo3.c cs_di_demo.c
++cs_dl_demo1_SOURCES = cs_dl_demo1.c
++cs_dl_demo2_SOURCES = cs_dl_demo2.c cs_dl_demo.c
++cs_dl_demo3_SOURCES = cs_dl_demo3.c cs_dl_demo.c
++cs_idemo_SOURCES = cs_idemo.c
++cs_ldemo_SOURCES = cs_ldemo.c
++
++check-local: $(check_PROGRAMS)
++ - ./cs_demo1 < ../Matrix/t1
++ - ./cs_demo2 < ../Matrix/t1
++ - ./cs_demo2 < ../Matrix/fs_183_1
++ - ./cs_demo2 < ../Matrix/west0067
++ - ./cs_demo2 < ../Matrix/lp_afiro
++ - ./cs_demo2 < ../Matrix/ash219
++ - ./cs_demo2 < ../Matrix/mbeacxc
++ - ./cs_demo2 < ../Matrix/bcsstk01
++ - ./cs_demo3 < ../Matrix/bcsstk01
++ - ./cs_demo2 < ../Matrix/bcsstk16
++ - ./cs_demo3 < ../Matrix/bcsstk16
++ - ./cs_di_demo1 < ../Matrix/t1
++ - ./cs_di_demo2 < ../Matrix/t1
++ - ./cs_di_demo2 < ../Matrix/fs_183_1
++ - ./cs_di_demo2 < ../Matrix/west0067
++ - ./cs_di_demo2 < ../Matrix/lp_afiro
++ - ./cs_di_demo2 < ../Matrix/ash219
++ - ./cs_di_demo2 < ../Matrix/mbeacxc
++ - ./cs_di_demo2 < ../Matrix/bcsstk01
++ - ./cs_di_demo3 < ../Matrix/bcsstk01
++ - ./cs_di_demo2 < ../Matrix/bcsstk16
++ - ./cs_di_demo3 < ../Matrix/bcsstk16
++ - ./cs_dl_demo1 < ../Matrix/t1
++ - ./cs_dl_demo2 < ../Matrix/t1
++ - ./cs_dl_demo2 < ../Matrix/fs_183_1
++ - ./cs_dl_demo2 < ../Matrix/west0067
++ - ./cs_dl_demo2 < ../Matrix/lp_afiro
++ - ./cs_dl_demo2 < ../Matrix/ash219
++ - ./cs_dl_demo2 < ../Matrix/mbeacxc
++ - ./cs_dl_demo2 < ../Matrix/bcsstk01
++ - ./cs_dl_demo3 < ../Matrix/bcsstk01
++ - ./cs_dl_demo2 < ../Matrix/bcsstk16
++ - ./cs_dl_demo3 < ../Matrix/bcsstk16
++ - ./cs_ci_demo1 < ../Matrix/t2
++ - ./cs_ci_demo2 < ../Matrix/t2
++ - ./cs_ci_demo2 < ../Matrix/t3
++ - ./cs_ci_demo2 < ../Matrix/t4
++ - ./cs_ci_demo2 < ../Matrix/c_west0067
++ - ./cs_ci_demo2 < ../Matrix/c_mbeacxc
++ - ./cs_ci_demo2 < ../Matrix/young1c
++ - ./cs_ci_demo2 < ../Matrix/qc324
++ - ./cs_ci_demo2 < ../Matrix/neumann
++ - ./cs_ci_demo2 < ../Matrix/c4
++ - ./cs_ci_demo3 < ../Matrix/c4
++ - ./cs_ci_demo2 < ../Matrix/mhd1280b
++ - ./cs_ci_demo3 < ../Matrix/mhd1280b
++ - ./cs_cl_demo1 < ../Matrix/t2
++ - ./cs_cl_demo2 < ../Matrix/t2
++ - ./cs_cl_demo2 < ../Matrix/t3
++ - ./cs_cl_demo2 < ../Matrix/t4
++ - ./cs_cl_demo2 < ../Matrix/c_west0067
++ - ./cs_cl_demo2 < ../Matrix/c_mbeacxc
++ - ./cs_cl_demo2 < ../Matrix/young1c
++ - ./cs_cl_demo2 < ../Matrix/qc324
++ - ./cs_cl_demo2 < ../Matrix/neumann
++ - ./cs_cl_demo2 < ../Matrix/c4
++ - ./cs_cl_demo3 < ../Matrix/c4
++ - ./cs_cl_demo2 < ../Matrix/mhd1280b
++ - ./cs_cl_demo3 < ../Matrix/mhd1280b
++ - ./cs_idemo < ../Matrix/t2
++ - ./cs_ldemo < ../Matrix/t2
diff --git a/sci-libs/cxsparse/metadata.xml b/sci-libs/cxsparse/metadata.xml
new file mode 100644
index 000000000000..efa9711d6ac9
--- /dev/null
+++ b/sci-libs/cxsparse/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci</herd>
+<longdescription lang="en">
+ CXSparse is an extended version of CSparse, with support for double or
+ complex matrices, with int or long integers.
+</longdescription>
+</pkgmetadata>