diff options
-rw-r--r-- | sci-libs/cxsparse/ChangeLog | 11 | ||||
-rw-r--r-- | sci-libs/cxsparse/Manifest | 5 | ||||
-rw-r--r-- | sci-libs/cxsparse/cxsparse-2.2.1.ebuild | 30 | ||||
-rw-r--r-- | sci-libs/cxsparse/files/cxsparse-2.2.1-autotools.patch | 152 | ||||
-rw-r--r-- | sci-libs/cxsparse/metadata.xml | 9 |
5 files changed, 207 insertions, 0 deletions
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..01733f0b0c16 --- /dev/null +++ b/sci-libs/cxsparse/Manifest @@ -0,0 +1,5 @@ +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 701 RMD160 0c9758d139cd97a7719f8b8ff1f46e8226cc6852 SHA1 b8dcc4ede4d5cb746336577552ce3329977a5e22 SHA256 58e87fe52cbe36211ad911b62bce46d843c2bd9be20f92ad161cca115baa713b +MISC ChangeLog 360 RMD160 569a91963deba5ab21b250c39af280fd2db9413c SHA1 8fdc3e75070baced7de893d87bf3d44cd42f233c SHA256 8f72d025c2b2a8522e01240c10c033feee8b51eed4ec4ff8bcad11013f8643f7 +MISC metadata.xml 323 RMD160 f4ff580fa2d11b10c5a0e724c5aeee3b655b72fa SHA1 fbdb856fa065133917c328c101b1b079a3d64029 SHA256 695b9ec1910f70964c9d25f0ffbb305a5302bf84d79a4ca8ba06395049a80f3d 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> |