diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /sci-libs/cln |
reinit the tree, so we can have metadata
Diffstat (limited to 'sci-libs/cln')
-rw-r--r-- | sci-libs/cln/Manifest | 8 | ||||
-rw-r--r-- | sci-libs/cln/cln-1.3.3.ebuild | 56 | ||||
-rw-r--r-- | sci-libs/cln/cln-1.3.4.ebuild | 56 | ||||
-rw-r--r-- | sci-libs/cln/files/cln-1.3.2-arm.patch | 13 | ||||
-rw-r--r-- | sci-libs/cln/metadata.xml | 16 |
5 files changed, 149 insertions, 0 deletions
diff --git a/sci-libs/cln/Manifest b/sci-libs/cln/Manifest new file mode 100644 index 000000000000..1d2fbe84a91a --- /dev/null +++ b/sci-libs/cln/Manifest @@ -0,0 +1,8 @@ +AUX cln-1.3.2-arm.patch 340 SHA256 ff5fd9300bb5a83c64b2c9c416fc5daed13d2a8527df4da021e02f46c5311254 SHA512 b16e00091ade3f77f54a88130a5953a8d677cbcc124a89e632266313b42c042cda57da4bececdc4740c1dce366a06593ad5cec21bf047ea43ea4927d2e08e020 WHIRLPOOL 0533b8c75f43aadd694abbdbb45a9fc5a9ac3fa0c10307bbb8975c9d45498ef3f0aa0f66c3efdcdc8e641a338ff0f67bb071afbe35b6579ea770e60540379c43 +DIST cln-1.3.3.tar.bz2 1300229 SHA256 57fc2ee3ecbb30d4037ff32a9a331804ea7dad8b345e70d42d9991ca659b2612 SHA512 ee829cd03a2d36215a4d4e76cc0aa6c5abe6ff967ed366d752da1dc0c47dbec56e0521e92fb35574c038305fb767991c5c7fd12ad03583080da3f923fbfecdaf WHIRLPOOL fac646fcb8622060917cbe08b232d412459e45f16c4bbe38cd6d1b7296bc259466eba28ddccb66ead435832ea45127e13b4fe0e2601a0f763487144c02e51eb0 +DIST cln-1.3.4.tar.bz2 1281348 SHA256 2d99d7c433fb60db1e28299298a98354339bdc120d31bb9a862cafc5210ab748 SHA512 2178a64b4388b3018c3847f6fb192ea51eb9c8618302986d7706accef17184e3333ddeca218d726f93f3b985598952ad58d705c9081201985611e383f788a631 WHIRLPOOL da1686fa88f7a73e20c60e3116b50dfee0ebe6e4519443df26889f82dd7b9281178c89cea7ab7fe82ed6a6b6fbf91546fc2501da7c56c2375e1f57415f103024 +EBUILD cln-1.3.3.ebuild 1320 SHA256 51ce06d3cebeba513ad1e0216972cca221d5cb64f76f91e427ab9afcc635667b SHA512 22024d622a3ed10ad9b2a7e4d868cff01c5870b2dd549c310779e1fad2db07ee02cf051a2e7f71f9d909869d2359258cd4d15acd82ed6046de1572bd4cdf0aaf WHIRLPOOL 66754790928cda61faf449388d266a2f42486b799f4192851132c3f91871611c8a2cd9c318ae4a99d4aac68dffb185ecea1b50d17758f66d6c62a2b5897ceb52 +EBUILD cln-1.3.4.ebuild 1318 SHA256 7fba0827aad332f67fad32397e6aa7f5b4b185c1e728f17183e26b23f9d3ed12 SHA512 1b235dc7f568f8e3ade3e240095374fda10e396ce37139194c775f3bcde6234e0a4730e0b8fb65bec2e049bd8a6ffd62fe79f0dba7d3a183ea2e358c786ba261 WHIRLPOOL 6d982ebc6be9e73d1a33b46ea155d23d3bd8d8d5904cd7cbdc16abf00e30fbad91e80141b4cada4bcf7988769980792be17f7f97aef843c126bc172f60ae4936 +MISC ChangeLog 2678 SHA256 820cf7341a528da2e24e21072e8da4370cd25bc44710c399ef9a5fd27b5a22be SHA512 3d52f391a164cf30d9c1785b3a9b1d172e2e3c85ca309b3e7910ea03f9dc61928a336bfc27bc056e72692f13cc7207e645e17d7d944d71390c99a2e830d4834b WHIRLPOOL f514d6d9feb57f1c2badec3a16cd1b78e90ff8b141f29a590ae09b30fd5a325b416fa20f62f1b99cfe3a316355ba8c62c1d01f9caa4053dff87a2fc6dbd17f5f +MISC ChangeLog-2015 10454 SHA256 e840b15d968aa067c1854c27477bce71025862b63f10893238405fe5da11b9a6 SHA512 6254ec3819423ec52d49a21675d944d4d633a88acb4878937238e7b27069419a5d0fe1f00c046541c745a33c04d8fc75f39fc4b21abfa0aff801d404e3dca194 WHIRLPOOL 6a9ceb7a1eaac9a7e07cc3ab158f934c5cba0f5c92da6291eb7daaaf0e102f46340fc3015cc74521ff463083cfcffec49b17b7edb6254c82ef2091c358e05cc7 +MISC metadata.xml 702 SHA256 10840f50fa97482f060acc0bb8c83f3f61400737d55b3884e6a28e45c4bd0d1e SHA512 4b6ddc8f558bc777963dcf271584ba59ba3d8cc3c2c95260a5680eab2a436dca894a2318f5bacdd9c9da68e6c22323d4ef2829b9bb1de0db2467f20ac204d95b WHIRLPOOL 98be8c8fbdcdef3fee7c722988f6d911eacdbffc686dd402f6ac721c5836cb2018a7475c84e4c4931cc1021c74fc39ebd13c2961d21afb2ba7bb0426daca3cdc diff --git a/sci-libs/cln/cln-1.3.3.ebuild b/sci-libs/cln/cln-1.3.3.ebuild new file mode 100644 index 000000000000..26803863a036 --- /dev/null +++ b/sci-libs/cln/cln-1.3.3.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit autotools-utils flag-o-matic + +DESCRIPTION="Class library (C++) for numbers" +HOMEPAGE="http://www.ginac.de/CLN/" +SRC_URI="ftp://ftpthep.physik.uni-mainz.de/pub/gnu/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="1" +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux" +IUSE="doc examples static-libs" + +RDEPEND="dev-libs/gmp:0=" +DEPEND="${RDEPEND} + doc? ( virtual/latex-base )" + +PATCHES=( "${FILESDIR}"/${PN}-1.3.2-arm.patch ) + +pkg_setup() { + use sparc && append-cppflags -DNO_ASM + use hppa && append-cppflags -DNO_ASM + use arm && append-cppflags -DNO_ASM +} + +src_prepare() { + # avoid building examples + # do it in Makefile.in to avoid time consuming eautoreconf + sed -i \ + -e '/^SUBDIRS.*=/s/examples doc benchmarks/doc/' \ + Makefile.in || die + autotools-utils_src_prepare +} + +src_compile() { + autotools-utils_src_compile + if use doc; then + cd "${BUILD_DIR}" + export VARTEXFONTS="${T}/fonts" + emake html pdf + DOCS=("${BUILD_DIR}/doc/cln.pdf") + HTML_DOCS=("${BUILD_DIR}/doc/") + fi +} + +src_install () { + autotools-utils_src_install + if use examples; then + docompress -x /usr/share/doc/${PF}/examples + insinto /usr/share/doc/${PF}/examples + doins examples/*.cc + fi +} diff --git a/sci-libs/cln/cln-1.3.4.ebuild b/sci-libs/cln/cln-1.3.4.ebuild new file mode 100644 index 000000000000..b072885a1307 --- /dev/null +++ b/sci-libs/cln/cln-1.3.4.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit autotools-utils flag-o-matic + +DESCRIPTION="Class library (C++) for numbers" +HOMEPAGE="http://www.ginac.de/CLN/" +SRC_URI="http://www.ginac.de/CLN/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="1" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux" +IUSE="doc examples static-libs" + +RDEPEND="dev-libs/gmp:0=" +DEPEND="${RDEPEND} + doc? ( virtual/latex-base )" + +PATCHES=( "${FILESDIR}"/${PN}-1.3.2-arm.patch ) + +pkg_setup() { + use sparc && append-cppflags -DNO_ASM + use hppa && append-cppflags -DNO_ASM + use arm && append-cppflags -DNO_ASM +} + +src_prepare() { + # avoid building examples + # do it in Makefile.in to avoid time consuming eautoreconf + sed -i \ + -e '/^SUBDIRS.*=/s/examples doc benchmarks/doc/' \ + Makefile.in || die + autotools-utils_src_prepare +} + +src_compile() { + autotools-utils_src_compile + if use doc; then + cd "${BUILD_DIR}" + export VARTEXFONTS="${T}/fonts" + emake html pdf + DOCS=("${BUILD_DIR}/doc/cln.pdf") + HTML_DOCS=("${BUILD_DIR}/doc/") + fi +} + +src_install () { + autotools-utils_src_install + if use examples; then + docompress -x /usr/share/doc/${PF}/examples + insinto /usr/share/doc/${PF}/examples + doins examples/*.cc + fi +} diff --git a/sci-libs/cln/files/cln-1.3.2-arm.patch b/sci-libs/cln/files/cln-1.3.2-arm.patch new file mode 100644 index 000000000000..571bd24e68f6 --- /dev/null +++ b/sci-libs/cln/files/cln-1.3.2-arm.patch @@ -0,0 +1,13 @@ +--- src/base/digitseq/cl_asm_arm_.cc 2009-05-10 16:32:30.000000000 -0400 ++++ src/base/digitseq/cl_asm_arm_.cc.new 2009-12-29 09:03:02.161401990 -0500 +@@ -77,8 +77,8 @@ + #else + #define DECLARE_FUNCTION(x) + #endif +-#define GLABEL(x) _##x##: +-#define LABEL(x) x##: ++#define GLABEL(x) _##x: ++#define LABEL(x) x: + #define RRX rrx + #define END + diff --git a/sci-libs/cln/metadata.xml b/sci-libs/cln/metadata.xml new file mode 100644 index 000000000000..3e1bd9fcb042 --- /dev/null +++ b/sci-libs/cln/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>sci-mathematics@gentoo.org</email> + <name>Gentoo Mathematics Project</name> + </maintainer> + <longdescription lang="en"> + A Class Library for Numbers is a library for computations with all + kinds of numbers in arbitrary precision. It has a set of number + classes, including integers (with unlimited precision), reals with + various precisions (including unlimited), rationals, complex numbers + and polynomials. The kernel is written in assembly language. It uses + automatic garbage collection. +</longdescription> +</pkgmetadata> |