diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2008-02-05 18:39:06 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2008-02-05 18:39:06 +0000 |
commit | a833febd0dba69b5cfeb772a50d08d26c5df57ed (patch) | |
tree | 2ee3fd76b25acf030a94a58e7e0ff1e069b3c675 /sci-libs/ldl | |
parent | Initial import, part of the suitesparse (diff) | |
download | gentoo-2-a833febd0dba69b5cfeb772a50d08d26c5df57ed.tar.gz gentoo-2-a833febd0dba69b5cfeb772a50d08d26c5df57ed.tar.bz2 gentoo-2-a833febd0dba69b5cfeb772a50d08d26c5df57ed.zip |
Initial import, part of the suitesparse
(Portage version: 2.1.4)
Diffstat (limited to 'sci-libs/ldl')
-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 |
5 files changed, 128 insertions, 0 deletions
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> |