From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- sci-libs/ldl/Manifest | 8 ++++ sci-libs/ldl/files/ldl-2.0.3-autotools.patch | 64 ++++++++++++++++++++++++++++ sci-libs/ldl/ldl-2.0.4.ebuild | 30 +++++++++++++ sci-libs/ldl/ldl-2.1.0.ebuild | 27 ++++++++++++ sci-libs/ldl/metadata.xml | 19 +++++++++ 5 files changed, 148 insertions(+) create mode 100644 sci-libs/ldl/Manifest create mode 100644 sci-libs/ldl/files/ldl-2.0.3-autotools.patch create mode 100644 sci-libs/ldl/ldl-2.0.4.ebuild create mode 100644 sci-libs/ldl/ldl-2.1.0.ebuild create mode 100644 sci-libs/ldl/metadata.xml (limited to 'sci-libs/ldl') diff --git a/sci-libs/ldl/Manifest b/sci-libs/ldl/Manifest new file mode 100644 index 000000000000..ea5d1894d799 --- /dev/null +++ b/sci-libs/ldl/Manifest @@ -0,0 +1,8 @@ +AUX ldl-2.0.3-autotools.patch 2001 SHA256 ee59cb2ded5a7cd167e20993e63659bf31ca515c31d4fe5320dd3336c410ed11 SHA512 5c61ad57d39a91b3327803bf7589497679afb78b7754ab5660e855dbc28f47fe288accd62a35fd4aa318dcf25c36e5066818ed88221863830c1962681359493b WHIRLPOOL 86e145b4b3b26e464b4e26a4b6575b4c2e517ba53a6e46303874d7806af76cd44830bbea2ddd5fc2bb0f7554d839702009597ee0b2ac07607a39504f2e94ba73 +DIST LDL-2.0.4.tar.gz 326840 SHA256 b699df725404d6f94871336f4f87d6f81c5e1921f7fb83e2287eb8f66443d1ac SHA512 5a6011ccf3385c0872662edca0341c29f89f6a231201460337d952460b7b50abc5c257375bd1c2db0d4db80dbfc582e648a70687b671468cae091ee332916268 WHIRLPOOL 92e049baa158e929a8d027481e67fc0c0b1b610701882bb2f8f2a15824c5260bc26ea08900578f02c774d5a57107aa2946af1ae7ce17f5a52f1d146c36763441 +DIST ldl-2.1.0.tar.bz2 336442 SHA256 20a7182e499bdf17bf6ef016e5c97f1a2e83519ff84fe8a4f611438cfe557338 SHA512 ad532e3481e48b9c3587ca0cba3d58a89a2174e3a0d523dcac6d420e04aa5da1cb8517bb14556d0a593110350fdc02aea3677eec41eb74821a3a63552418d0b5 WHIRLPOOL ad00375ce9d71500bf2d39f468d8e4f887cf30b0f57f7e79f8a01c2fe35b0e32fdae8f6673ba2adb38ff816342793826839aa34d0a4bf15e24d26523c4ccdb82 +EBUILD ldl-2.0.4.ebuild 699 SHA256 5a54916669e4aed0f2d09d7a50672ae8fece351beaee79d4b51129e69e95be43 SHA512 69a918aa9b28b640fe229aee1bb3f2f727b4d958f0b8f6e8a7a4339c26fe342ac48f37ea8b76ea0e74d7fbb621cbe86527119ca231373cbe192d6c472f88ca81 WHIRLPOOL 6a6318fb7a05c90e8c0143162937705cf3f630827effc033ce76253473919dda5ac8c91d3176db17f711afe9a7ffb4984e4a990e016405c6cf8b989b6be4c9ad +EBUILD ldl-2.1.0.ebuild 688 SHA256 29e7af45d574f3b054fd698a09b847145a69f587c5c69dd1e2591e3bf6bcc1d9 SHA512 f84ac5a1a8377176f9d174852e1885e82ae38a71a6185cd964a29421af8169683faca5a2e801ea6f06152c25730280e0f82f2a0e6ee911cb7bbb01db4d5364c7 WHIRLPOOL 89ffeace6108b06554f509a9d21b11d72715456be5e47c16d7ef560e156e6676711210220bc3401e463fad1e22f45c407ddf8b69bfb074845d060dac2dc024a8 +MISC ChangeLog 2681 SHA256 609c21d63378f0579ecfeb2220ec369bbd0a1ce9f95fd6fbc77d6ea7419829be SHA512 00f5745963abf81b481fed276219a9e92223c9526b883c2874d13f2735026b6847a68a16027cc8dffcaade9b075c5f42dc49e8a2539bad2179d9f9c023b32077 WHIRLPOOL ccccc0c32c3a29cc52c548da847356f888534657369d7624ae1ddd5a7b5ea190bc1ed21b5e6105d65fabe56f78d9e136e52f293bc9ca4edecc487d0721835997 +MISC ChangeLog-2015 1336 SHA256 e37df6f30da5532be4a5eda80af84f2fde5492c6d407864a40a99a347e2f7e56 SHA512 c4d1e578261c14b30b7ec27f2d8311c9f86b1593653d166196b73af50e1740d81c8675a4b3a0ec8530c4a6caaacad5d81a097f58554e7cbc4977f306e2c09165 WHIRLPOOL 7d3d8322c75306c43fe5fdbbd66e697c42c0007b1f8dfbaef5e0dea69750378891ed9af7833155b1df77a572fe3997727e994559690e38b82f483d0fd65036e7 +MISC metadata.xml 885 SHA256 fca11c24fa8e15785c2592dff5d6348651a1b9f4baf9d445a485088165528977 SHA512 bf0ae9850026ae2099aefa1ffea11633f8dfa35f6fc631afa688a12bc018a45a1155c04ac159fc07322324b73da76fcb97d5ce79b999509d91045d6145cbc291 WHIRLPOOL 36daf05dc508858a8a5f0d449e078f0f17b3748149cd47ab200db43afdc525f80706353d581759be20b53a43e3556491be0ae5173fd9f73a5b51946bac00c20f diff --git a/sci-libs/ldl/files/ldl-2.0.3-autotools.patch b/sci-libs/ldl/files/ldl-2.0.3-autotools.patch new file mode 100644 index 000000000000..5e174999a5f3 --- /dev/null +++ b/sci-libs/ldl/files/ldl-2.0.3-autotools.patch @@ -0,0 +1,64 @@ +--- 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.3, 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,11 @@ ++AM_CPPFLAGS = -I$(top_srcdir)/Include ++ ++LDLSRC=ldl.c ++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.4.ebuild b/sci-libs/ldl/ldl-2.0.4.ebuild new file mode 100644 index 000000000000..91e5ecea53e8 --- /dev/null +++ b/sci-libs/ldl/ldl-2.0.4.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +AUTOTOOLS_AUTORECONF=yes +inherit autotools-utils + +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 static-libs" +DEPEND="sci-libs/ufconfig" +RDEPEND="" + +PATCHES=( "${FILESDIR}"/${PN}-2.0.3-autotools.patch ) +DOCS=( README.txt Doc/ChangeLog ) + +S="${WORKDIR}/${MY_PN}" + +src_install() { + autotools-utils_src_install + use doc && dodoc Doc/ldl_userguide.pdf +} diff --git a/sci-libs/ldl/ldl-2.1.0.ebuild b/sci-libs/ldl/ldl-2.1.0.ebuild new file mode 100644 index 000000000000..d356f046a806 --- /dev/null +++ b/sci-libs/ldl/ldl-2.1.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit autotools-utils + +DESCRIPTION="Simple but educational LDL^T matrix factorization algorithm" +HOMEPAGE="http://www.cise.ufl.edu/research/sparse/ldl" +SRC_URI="https://dev.gentoo.org/~bicatali/distfiles/${P}.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux ~x86-macos" +IUSE="doc static-libs" + +RDEPEND="sci-libs/suitesparseconfig" +DEPEND="${RDEPEND} + virtual/pkgconfig + doc? ( virtual/latex-base )" + +src_configure() { + local myeconfargs=( + $(use_with doc) + ) + autotools-utils_src_configure +} diff --git a/sci-libs/ldl/metadata.xml b/sci-libs/ldl/metadata.xml new file mode 100644 index 000000000000..776f7e760b66 --- /dev/null +++ b/sci-libs/ldl/metadata.xml @@ -0,0 +1,19 @@ + + + + + sci@gentoo.org + Gentoo Science Project + + + 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. + + -- cgit v1.2.3