diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2008-02-05 18:44:59 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2008-02-05 18:44:59 +0000 |
commit | 20ffc322b14b8241148e75185fb47ba101fc6fa8 (patch) | |
tree | d2041fa63bbcbe0320e1eff92f6ddaf6d3a33104 | |
parent | stable x86, bug 208997 (diff) | |
download | historical-20ffc322b14b8241148e75185fb47ba101fc6fa8.tar.gz historical-20ffc322b14b8241148e75185fb47ba101fc6fa8.tar.bz2 historical-20ffc322b14b8241148e75185fb47ba101fc6fa8.zip |
Initial import, part of the suitesparse
Package-Manager: portage-2.1.4
-rw-r--r-- | sci-libs/btf/ChangeLog | 9 | ||||
-rw-r--r-- | sci-libs/btf/Manifest | 5 | ||||
-rw-r--r-- | sci-libs/btf/btf-1.0.1.ebuild | 30 | ||||
-rw-r--r-- | sci-libs/btf/files/btf-1.0.1-autotools.patch | 34 | ||||
-rw-r--r-- | sci-libs/btf/metadata.xml | 12 | ||||
-rw-r--r-- | sci-libs/csparse/ChangeLog | 11 | ||||
-rw-r--r-- | sci-libs/csparse/Manifest | 5 | ||||
-rw-r--r-- | sci-libs/csparse/csparse-2.2.1.ebuild | 30 | ||||
-rw-r--r-- | sci-libs/csparse/files/csparse-2.2.1-autotools.patch | 59 | ||||
-rw-r--r-- | sci-libs/csparse/metadata.xml | 13 | ||||
-rw-r--r-- | sci-libs/klu/ChangeLog | 10 | ||||
-rw-r--r-- | sci-libs/klu/Manifest | 5 | ||||
-rw-r--r-- | sci-libs/klu/files/klu-1.0.1-autotools.patch | 61 | ||||
-rw-r--r-- | sci-libs/klu/klu-1.0.1.ebuild | 36 | ||||
-rw-r--r-- | sci-libs/klu/metadata.xml | 10 | ||||
-rw-r--r-- | sci-libs/ldl/ChangeLog | 10 | ||||
-rw-r--r-- | sci-libs/ldl/Manifest | 5 | ||||
-rw-r--r-- | sci-libs/ldl/files/ldl-2.0.1-autotools.patch | 63 | ||||
-rw-r--r-- | sci-libs/ldl/ldl-2.0.1.ebuild | 34 | ||||
-rw-r--r-- | sci-libs/ldl/metadata.xml | 16 |
20 files changed, 458 insertions, 0 deletions
diff --git a/sci-libs/btf/ChangeLog b/sci-libs/btf/ChangeLog new file mode 100644 index 000000000000..beaf1b4784c1 --- /dev/null +++ b/sci-libs/btf/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for sci-libs/btf +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/btf/ChangeLog,v 1.1 2008/02/05 18:34:57 bicatali Exp $ + +*btf-1.0.1 (05 Feb 2008) + + 05 Feb 2008; Sébastien Fabbro <bicatali@gentoo.org> + +files/btf-1.0.1-autotools.patch, +metadata.xml, +btf-1.0.1.ebuild: + Initial import, part of the suitesparse diff --git a/sci-libs/btf/Manifest b/sci-libs/btf/Manifest new file mode 100644 index 000000000000..bc770187618f --- /dev/null +++ b/sci-libs/btf/Manifest @@ -0,0 +1,5 @@ +AUX btf-1.0.1-autotools.patch 1112 RMD160 227471fa9e974b7055b247261ca6767de4f68b4e SHA1 3c4bdd9641df954ae9769dd7478d67dd23eea466 SHA256 e59577bcb99d75df481612a124052bedfb03d3d5774e383c6f61f8f3fffd4dc8 +DIST BTF-1.0.1.tar.gz 38254 RMD160 6cf6fe2a4532f56cca81e92654d5410831c79e6f SHA1 15459bdece0a7a87444a7bc2b243368b2522d2b4 SHA256 ba267a3f59e0c447438c6e930282de6289fd5c45af5d6b4072c037d489df8310 +EBUILD btf-1.0.1.ebuild 707 RMD160 95f57336fd7464a5e6b54cf74486a7d90bdee19e SHA1 dc1f9f54bfaa4bcff85a79d5c2480b3db358947e SHA256 a9d24eb2f33d1601658bf903574cb77c9480bbbb67334a81104cbc1582be234e +MISC ChangeLog 306 RMD160 45e780e423142e8d3279a41a3a89c8dfe31055a2 SHA1 8b4ccee8a3640a019ede9c6d0bb597c182728c6f SHA256 476d6b4dd6c69ee6aa7701f2a545bc26770ab0d3c6691e0332db73d0c1dd7505 +MISC metadata.xml 503 RMD160 a6ca383c1b771c7d0f27cb339c206509ff30681c SHA1 9ba6685de512a8ce5a72e5a213209dc33b1fbaa4 SHA256 c0fd2db3320bc8844ff6d419d18bcfdb2dc7ab16abb3a60876eaa7918850bcb0 diff --git a/sci-libs/btf/btf-1.0.1.ebuild b/sci-libs/btf/btf-1.0.1.ebuild new file mode 100644 index 000000000000..da2bd34e9860 --- /dev/null +++ b/sci-libs/btf/btf-1.0.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/btf/btf-1.0.1.ebuild,v 1.1 2008/02/05 18:34:57 bicatali Exp $ + +inherit autotools eutils + +MY_PN=BTF +DESCRIPTION="Algorithm for matrix permutation into block triangular form" +HOMEPAGE="http://www.cise.ufl.edu/research/sparse/btf" +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/btf/files/btf-1.0.1-autotools.patch b/sci-libs/btf/files/btf-1.0.1-autotools.patch new file mode 100644 index 000000000000..4156c2dfeb70 --- /dev/null +++ b/sci-libs/btf/files/btf-1.0.1-autotools.patch @@ -0,0 +1,34 @@ +--- configure.ac 1970-01-01 01:00:00.000000000 +0100 ++++ configure.ac 2008-01-30 12:29:44.232979678 +0000 +@@ -0,0 +1,10 @@ ++# -*- Autoconf -*- ++AC_PREREQ(2.59) ++AC_INIT(btf, 1.0.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 Source/Makefile]) ++AC_OUTPUT +--- Makefile.am 1970-01-01 01:00:00.000000000 +0100 ++++ Makefile.am 2008-01-30 12:30:12.862611188 +0000 +@@ -0,0 +1,3 @@ ++SUBDIRS = Source ++EXTRA_DIST = README.txt ++include_HEADERS = Include/btf.h Include/btf_internal.h +--- Source/Makefile.am 1970-01-01 01:00:00.000000000 +0100 ++++ Source/Makefile.am 2008-01-30 12:37:00.857861512 +0000 +@@ -0,0 +1,12 @@ ++AM_CPPFLAGS = -I$(top_srcdir)/Include ++ ++BTFSRC = btf_order.c btf_maxtrans.c btf_strongcomp.c ++ ++lib_LTLIBRARIES = libbtf.la ++noinst_LTLIBRARIES = libbtfi.la libbtfl.la ++libbtfi_la_SOURCES = $(BTFSRC) ++libbtfi_la_CPPFLAGS = $(AM_CPPFLAGS) ++libbtfl_la_SOURCES = $(BTFSRC) ++libbtfl_la_CPPFLAGS = $(AM_CPPFLAGS) -DDLONG ++libbtf_la_SOURCES = ++libbtf_la_LIBADD = libbtfl.la libbtfi.la diff --git a/sci-libs/btf/metadata.xml b/sci-libs/btf/metadata.xml new file mode 100644 index 000000000000..c4cfd688ca47 --- /dev/null +++ b/sci-libs/btf/metadata.xml @@ -0,0 +1,12 @@ +<?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 Block Triangular Form is a library of routines offering + permutation of an unsymmetric matrix (square or rectangular) into + its block upper triangular form (more precisely, it computes a + Dulmage-Mendelsohn decomposition). It is also part of the University + of Florida sparse matrix suite. +</longdescription> +</pkgmetadata> diff --git a/sci-libs/csparse/ChangeLog b/sci-libs/csparse/ChangeLog new file mode 100644 index 000000000000..90bf19cad48c --- /dev/null +++ b/sci-libs/csparse/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for sci-libs/csparse +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/csparse/ChangeLog,v 1.1 2008/02/05 18:44:59 bicatali Exp $ + +*csparse-2.2.1 (05 Feb 2008) + + 05 Feb 2008; Sébastien Fabbro <bicatali@gentoo.org> + +files/csparse-2.2.1-autotools.patch, +metadata.xml, + +csparse-2.2.1.ebuild: + Initial import, part of the suitesparse + diff --git a/sci-libs/csparse/Manifest b/sci-libs/csparse/Manifest new file mode 100644 index 000000000000..476cc5b4563a --- /dev/null +++ b/sci-libs/csparse/Manifest @@ -0,0 +1,5 @@ +AUX csparse-2.2.1-autotools.patch 2262 RMD160 1cf4cfa1ce55946498d0d0ed6070093994856442 SHA1 0279b5c77c7f0ccb54e1ff2b0192a701eeb7c13f SHA256 8deecba19fe66a964841cc24dcfa89896019c58c2fd5ab965b40e5646f6629b3 +DIST CSparse-2.2.1.tar.gz 1365607 RMD160 17982a35c481235e67b669400c039acc39f4ecbe SHA1 731c062a8e804f7a1d2ccb666f9a436ba6f0cc83 SHA256 75aa04437444f2a829743c57387079641e7aa2ac107dc3e89673d76b3c15b77f +EBUILD csparse-2.2.1.ebuild 681 RMD160 ce18c0761b3048e81fa331e82677663dc42c06ba SHA1 b655e8419f0b1acd063c3f8834e5b0402f268b39 SHA256 3e5086fa12fdcd6f1672cb0cb6dce0fa2382b6333881f95a04a03f585c188d00 +MISC ChangeLog 325 RMD160 d0839dca88e4753b30f3522dde8201b793ecb69d SHA1 bfb8fe14f86b5d53c2d6c893bc72121052b1370a SHA256 2f248c53de5cae562cccd1781fab49616575d542360406a808dc06491262d812 +MISC metadata.xml 562 RMD160 d5bcb502069ef1fb8c018ddbb1a8ed2c054d2d36 SHA1 0df820628b5fa2b495e1c819a3295e655c8f02f4 SHA256 d19953c777c3646e149790954a1858494b9874f83b0d3b5ab447820e54e70308 diff --git a/sci-libs/csparse/csparse-2.2.1.ebuild b/sci-libs/csparse/csparse-2.2.1.ebuild new file mode 100644 index 000000000000..5e846e9af952 --- /dev/null +++ b/sci-libs/csparse/csparse-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/csparse/csparse-2.2.1.ebuild,v 1.1 2008/02/05 18:44:59 bicatali Exp $ + +inherit autotools eutils + +MY_PN=CSparse +DESCRIPTION="Concise sparse matrix package." +HOMEPAGE="http://www.cise.ufl.edu/research/sparse/CSparse" +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="" + +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/csparse/files/csparse-2.2.1-autotools.patch b/sci-libs/csparse/files/csparse-2.2.1-autotools.patch new file mode 100644 index 000000000000..3f96170cfa6e --- /dev/null +++ b/sci-libs/csparse/files/csparse-2.2.1-autotools.patch @@ -0,0 +1,59 @@ +--- configure.ac 1970-01-01 01:00:00.000000000 +0100 ++++ configure.ac 2008-01-30 18:34:40.659910749 +0000 +@@ -0,0 +1,10 @@ ++# -*- Autoconf -*- ++AC_PREREQ(2.59) ++AC_INIT(csparse, 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 Source/Makefile Demo/Makefile]) ++AC_OUTPUT +--- Makefile.am 1970-01-01 01:00:00.000000000 +0100 ++++ Makefile.am 2008-01-30 18:35:32.154594734 +0000 +@@ -0,0 +1,4 @@ ++SUBDIRS = Source Demo ++EXTRA_DIST = README.txt ++include_HEADERS = Include/cs.h ++ +--- Source/Makefile.am 1970-01-01 01:00:00.000000000 +0100 ++++ Source/Makefile.am 2008-01-30 18:45:50.337822988 +0000 +@@ -0,0 +1,12 @@ ++AM_CPPFLAGS = -I$(top_builddir)/Include ++lib_LTLIBRARIES = libcsparse.la ++libcsparse_la_SOURCES = \ ++ 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_ereach.c cs_leaf.c cs_randperm.c +--- Demo/Makefile.am 1970-01-01 01:00:00.000000000 +0100 ++++ Demo/Makefile.am 2008-01-31 11:11:28.880545257 +0000 +@@ -0,0 +1,21 @@ ++AM_CPPFLAGS = -I$(top_srcdir)/Include ++LDADD = $(top_builddir)/Source/libcsparse.la -lm ++ ++check_PROGRAMS = cs_demo1 cs_demo2 cs_demo3 ++ ++check-local: $(check_PROGRAMS) ++ - ./cs_demo1 < ../Matrix/t1 ++ - ./cs_demo2 < ../Matrix/t1 ++ - ./cs_demo2 < ../Matrix/ash219 ++ - ./cs_demo2 < ../Matrix/bcsstk01 ++ - ./cs_demo2 < ../Matrix/fs_183_1 ++ - ./cs_demo2 < ../Matrix/mbeacxc ++ - ./cs_demo2 < ../Matrix/west0067 ++ - ./cs_demo2 < ../Matrix/lp_afiro ++ - ./cs_demo2 < ../Matrix/bcsstk16 ++ - ./cs_demo3 < ../Matrix/bcsstk01 ++ - ./cs_demo3 < ../Matrix/bcsstk16 ++ ++cs_demo1_SOURCE = cs_demo1.c ++cs_demo2_SOURCES= cs_demo2.c cs_demo.c cs_demo.h ++cs_demo3_SOURCES = cs_demo3.c cs_demo.c cs_demo.h diff --git a/sci-libs/csparse/metadata.xml b/sci-libs/csparse/metadata.xml new file mode 100644 index 000000000000..00a4db0786ad --- /dev/null +++ b/sci-libs/csparse/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sci</herd> +<longdescription lang="en"> + CSparse a small yet feature-rich sparse matrix package written + specifically for the book "Direct Methods for Sparse Linear Systems". + The purpose of the package is to demonstrate a wide range of sparse + matrix algorithms in as concise a code as possible. Note that the LU + and Cholesky factorization algorithms are not as fast as UMFPACK or + CHOLMOD. +</longdescription> +</pkgmetadata> diff --git a/sci-libs/klu/ChangeLog b/sci-libs/klu/ChangeLog new file mode 100644 index 000000000000..6fa20bded504 --- /dev/null +++ b/sci-libs/klu/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for sci-libs/klu +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/klu/ChangeLog,v 1.1 2008/02/05 18:42:23 bicatali Exp $ + +*klu-1.0.1 (05 Feb 2008) + + 05 Feb 2008; Sébastien Fabbro <bicatali@gentoo.org> + +files/klu-1.0.1-autotools.patch, +metadata.xml, +klu-1.0.1.ebuild: + Initial import, part of the suitesparse + diff --git a/sci-libs/klu/Manifest b/sci-libs/klu/Manifest new file mode 100644 index 000000000000..b683602b114d --- /dev/null +++ b/sci-libs/klu/Manifest @@ -0,0 +1,5 @@ +AUX klu-1.0.1-autotools.patch 2160 RMD160 fd54abc4d279750f9d9fe6f619539f06574c9b98 SHA1 ff5fcbe7354209afaeead1ed62bcb92388c2b128 SHA256 975bda872f643603e6f60ce792879bc71a3cee28e0a3978c30aef5c9fcff22ca +DIST KLU-1.0.1.tar.gz 562228 RMD160 cb488b70b32f0e21d2992eacc05976cf07a8ef70 SHA1 ccc73eca912484f50ab22bab705a74ea50bd4045 SHA256 d87b4694d423cf0b3a04f55edb0e5a605d2ad229b05aa015a3c4a7cfd3629a4e +EBUILD klu-1.0.1.ebuild 801 RMD160 937a8c0df1c05aba14144445950cad0b5d2f9cd8 SHA1 e7ec4bb00a0425a3df03707cd39eb22606de456b SHA256 493a1cb89b13990af0e78b739112c15c9a0a6fae5f51e8301615cc4ab08e3e5e +MISC ChangeLog 307 RMD160 f8bf6c3fcd0edea8f8daf7cb97bdfd1b5272fb77 SHA1 f63ec27b874c1e664573c531a8c413b27957d729 SHA256 f33b16ad7dd6033af0002d2ce79c9f5d37975fd59499f495a686255c87af2794 +MISC metadata.xml 361 RMD160 1f16a4915bef227e22d45c89891c8e617b2e9e1b SHA1 7b0739dfcbb5580696bd700651db111750aae445 SHA256 cc5978413cf7cf79255673c927a0b4841a4c15e6e8b2ae2dbbe993b86fabbc9c diff --git a/sci-libs/klu/files/klu-1.0.1-autotools.patch b/sci-libs/klu/files/klu-1.0.1-autotools.patch new file mode 100644 index 000000000000..c094f50fa5c4 --- /dev/null +++ b/sci-libs/klu/files/klu-1.0.1-autotools.patch @@ -0,0 +1,61 @@ +--- configure.ac 1970-01-01 01:00:00.000000000 +0100 ++++ configure.ac 2008-02-01 16:31:38.558242220 +0000 +@@ -0,0 +1,13 @@ ++# -*- Autoconf -*- ++AC_PREREQ(2.59) ++AC_INIT(klu, 1.0.1, davis@cise.ufl.edu) ++AM_INIT_AUTOMAKE([foreign]) ++AC_PROG_INSTALL ++AC_PROG_LIBTOOL ++AC_CHECK_LIB(m, sqrt) ++AC_CHECK_LIB(btf, BTF_strongcomp) ++AC_CHECK_LIB(amd, amd_malloc) ++AC_CHECK_LIB(colamd, COLAMD_recommended) ++AC_CHECK_HEADERS(UFconfig.h) ++AC_CONFIG_FILES([Makefile Source/Makefile Demo/Makefile]) ++AC_OUTPUT +--- ./Demo/Makefile.am 1970-01-01 01:00:00.000000000 +0100 ++++ ./Demo/Makefile.am 2008-01-30 18:02:49.154496996 +0000 +@@ -0,0 +1,8 @@ ++# KLU Demo Makefile. The klu_simple demo is stand-alone. The other demos ++# would require CHOLMOD. ++ ++LDADD = $(top_builddir)/Source/libklu.la -lbtf -lamd -lcolamd ++AM_CPPFLAGS = -I$(top_srcdir)/Include ++check_PROGRAMS = klu_simple ++TESTS = klu_simple ++klu_simple_SOURCES = klu_simple.c +--- ./Source/Makefile.am 1970-01-01 01:00:00.000000000 +0100 ++++ ./Source/Makefile.am 2008-02-01 17:34:49.641897670 +0000 +@@ -0,0 +1,24 @@ ++AM_CPPFLAGS = -I$(top_srcdir)/Include ++ ++noinst_LTLIBRARIES = libklud.la libkluz.la libklul.la libkluzl.la ++ ++KLUSRC = klu.c klu_kernel.c klu_dump.c \ ++ klu_factor.c klu_free_numeric.c klu_solve.c \ ++ klu_scale.c klu_refactor.c \ ++ klu_tsolve.c klu_diagnostics.c klu_sort.c klu_extract.c ++ ++CKLUSRC = klu_free_symbolic.c klu_defaults.c klu_analyze_given.c \ ++ klu_analyze.c klu_memory.c ++ ++libklud_la_SOURCES = $(KLUSRC) $(CKLUSRC) ++libkluz_la_SOURCES = $(KLUSRC) ++libkluz_la_CPPFLAGS = $(AM_CPPFLAGS) -DCOMPLEX ++libklul_la_SOURCES = $(KLUSRC) $(CKLUSRC) ++libklul_la_CPPFLAGS = $(AM_CPPFLAGS) -DDLONG ++libkluzl_la_SOURCES = $(KLUSRC) ++libkluzl_la_CPPFLAGS = $(AM_CPPFLAGS) -DDLONG -DCOMPLEX ++ ++lib_LTLIBRARIES = libklu.la ++libklu_la_SOURCES = ++libklu_la_LIBADD = -lamd -lbtf -lcolamd \ ++ libklud.la libkluz.la libklul.la libkluzl.la +--- ./Makefile.am 1970-01-01 01:00:00.000000000 +0100 ++++ ./Makefile.am 2008-01-30 15:49:31.290914565 +0000 +@@ -0,0 +1,4 @@ ++SUBDIRS = Source Demo ++EXTRA_DIST = README.txt ++include_HEADERS = Include/klu.h Include/klu_version.h Include/klu_internal.h ++ diff --git a/sci-libs/klu/klu-1.0.1.ebuild b/sci-libs/klu/klu-1.0.1.ebuild new file mode 100644 index 000000000000..5fc5f82119e9 --- /dev/null +++ b/sci-libs/klu/klu-1.0.1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/klu/klu-1.0.1.ebuild,v 1.1 2008/02/05 18:42:23 bicatali Exp $ + +inherit autotools eutils + +MY_PN=KLU +DESCRIPTION="Sparse LU factorization for circuit simulation" +HOMEPAGE="http://www.cise.ufl.edu/research/sparse/klu" +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="doc" +DEPEND="sci-libs/amd + sci-libs/btf + sci-libs/colamd" + +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/*.pdf || die + fi +} diff --git a/sci-libs/klu/metadata.xml b/sci-libs/klu/metadata.xml new file mode 100644 index 000000000000..485be7b6f45e --- /dev/null +++ b/sci-libs/klu/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"> + KLU is a sparse LU factorization algorithm well-suited for use in + circuit simulation. It is also part of the University + of Florida sparse matrix suite. +</longdescription> +</pkgmetadata> diff --git a/sci-libs/ldl/ChangeLog b/sci-libs/ldl/ChangeLog new file mode 100644 index 000000000000..3dafe91fc796 --- /dev/null +++ b/sci-libs/ldl/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for sci-libs/ldl +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/ldl/ChangeLog,v 1.1 2008/02/05 18:39:06 bicatali Exp $ + +*ldl-2.0.1 (05 Feb 2008) + + 05 Feb 2008; Sébastien Fabbro <bicatali@gentoo.org> + +files/ldl-2.0.1-autotools.patch, +metadata.xml, +ldl-2.0.1.ebuild: + Initial import, part of the suitesparse + diff --git a/sci-libs/ldl/Manifest b/sci-libs/ldl/Manifest new file mode 100644 index 000000000000..515857e1a718 --- /dev/null +++ b/sci-libs/ldl/Manifest @@ -0,0 +1,5 @@ +AUX ldl-2.0.1-autotools.patch 1987 RMD160 41d94bbe70ba6c6d608a0f0bdabc8ffe7c26ec81 SHA1 e2837c5bae5726d695a9273e10d076a349bb514f SHA256 45af4d76f60319e874607af037f5924fa739ce4bb62bf0d80722914be6214cab +DIST LDL-2.0.1.tar.gz 225831 RMD160 340c3ca34eff36be90e9d3978c54e69382f8cc50 SHA1 93b0b2ad70793cef8873f3cd634a8043130d935f SHA256 bce5ded23ea79548b5ecdde94a7f0339cbe54cf8661105eb40ff17216f8ecef8 +EBUILD ldl-2.0.1.ebuild 800 RMD160 c9d20c17d948912d1a48e4f26e325a031705d1f7 SHA1 6d5b891ab2fbc67a41aab0c67320b9a94fb808a9 SHA256 1f4a28fcabd03b597e1325f45ba265c715d3e2ca9ceb3664eb4e66ee69016d71 +MISC ChangeLog 307 RMD160 261bcd05d8ec24e550d5a797318765e189cdf978 SHA1 54ff1edae082936227e53b44ea09bfb9b10675e6 SHA256 627a6a611cc62397542cb6bccfe1d21f51eaa185495f9e15aa8f1bdee76493ec +MISC metadata.xml 792 RMD160 1a586da601f8eb7d9a5ccc3383f97c044da46470 SHA1 8b62f881416f996e30fdf46810af8728e1e663bf SHA256 c1b3768f1b6046b54a40d224ec04bee4828fe27a500657e956c41feb3cd1c1bf diff --git a/sci-libs/ldl/files/ldl-2.0.1-autotools.patch b/sci-libs/ldl/files/ldl-2.0.1-autotools.patch new file mode 100644 index 000000000000..d76524c000d4 --- /dev/null +++ b/sci-libs/ldl/files/ldl-2.0.1-autotools.patch @@ -0,0 +1,63 @@ +--- configure.ac 1970-01-01 01:00:00.000000000 +0100 ++++ configure.ac 2008-01-30 12:45:53.174426797 +0000 +@@ -0,0 +1,10 @@ ++# -*- Autoconf -*- ++AC_PREREQ(2.59) ++AC_INIT(ldl, 2.0.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 Source/Makefile Demo/Makefile]) ++AC_OUTPUT +--- Makefile.am 1970-01-01 01:00:00.000000000 +0100 ++++ Makefile.am 2008-01-30 15:49:41.835515468 +0000 +@@ -0,0 +1,4 @@ ++SUBDIRS = Source Demo ++EXTRA_DIST = README.txt ++include_HEADERS = Include/ldl.h ++ +--- Source/Makefile.am 1970-01-01 01:00:00.000000000 +0100 ++++ Source/Makefile.am 2008-01-30 12:49:25.858546974 +0000 +@@ -0,0 +1,10 @@ ++AM_CPPFLAGS = -I$(top_srcdir)/Include ++ ++lib_LTLIBRARIES = libldl.la ++noinst_LTLIBRARIES = libldli.la libldll.la ++libldli_la_SOURCES = $(LDLSRC) ++libldli_la_CPPFLAGS = $(AM_CPPFLAGS) ++libldll_la_SOURCES = $(LDLSRC) ++libldll_la_CPPFLAGS = $(AM_CPPFLAGS) -DLDL_LONG ++libldl_la_SOURCES = ++libldl_la_LIBADD = libldll.la libldli.la +--- Demo/Makefile.am 1970-01-01 01:00:00.000000000 +0100 ++++ Demo/Makefile.am 2008-01-30 15:43:45.603214946 +0000 +@@ -0,0 +1,27 @@ ++LDADD = $(top_builddir)/Source/libldl.la -lm ++AM_CPPFLAGS = -I$(top_srcdir)/Include ++check_PROGRAMS = ldlsimple ldllsimple ldlmain ldllmain ldlamd ldllamd ++ ++ldlmain_SOURCES = ldlmain.c ++ldllmain_SOURCES = ldlmain.c ++ldllmain_CPPFLAGS = $(AM_CPPFLAGS) -DLDL_LONG ++ ++ldlsimple_SOURCES = ldlsimple.c ++ldllsimple_SOURCES = ldlsimple.c ++ldllsimple_CPPFLAGS = $(AM_CPPFLAGS) -DLDL_LONG ++ ++ldlamd_SOURCES = ldlamd.c ++ldllamd_CPPFLAGS = $(AM_CPPFLAGS) -DUSE_AMD ++ldllamd_SOURCES = ldlamd.c ++ldllamd_CPPFLAGS = $(AM_CPPFLAGS) -DUSE_AMD -DLDL_LONG ++ldllamd_LDADD = $(LDADD) -lamd ++ ++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; diff --git a/sci-libs/ldl/ldl-2.0.1.ebuild b/sci-libs/ldl/ldl-2.0.1.ebuild new file mode 100644 index 000000000000..5d3de44ac393 --- /dev/null +++ b/sci-libs/ldl/ldl-2.0.1.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/ldl/ldl-2.0.1.ebuild,v 1.1 2008/02/05 18:39:06 bicatali Exp $ + +inherit autotools eutils + +MY_PN=LDL +DESCRIPTION="Simple but educational LDL^T matrix factorization algorithm" +HOMEPAGE="http://www.cise.ufl.edu/research/sparse/ldl" +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="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/ldl_userguide.pdf || die + fi +} diff --git a/sci-libs/ldl/metadata.xml b/sci-libs/ldl/metadata.xml new file mode 100644 index 000000000000..16d693b4d0f1 --- /dev/null +++ b/sci-libs/ldl/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sci</herd> +<longdescription lang="en"> + LDL is a set of concise routines for factorizing symmetric + positive-definite sparse matrices, with some applicability to + symmetric indefinite matrices. Its primary purpose is to illustrate + much of the basic theory of sparse matrix algorithms in as concise a + code as possible, including an elegant new method of sparse symmetric + factorization that computes the factorization row-by-row but stores it + column-by-column. The entire symbolic and numeric factorization + consists of a total of only 49 lines of code. The package is written + in C, and includes a MATLAB interface. +</longdescription> +</pkgmetadata> |