diff options
Diffstat (limited to 'sci-libs/openlibm')
-rw-r--r-- | sci-libs/openlibm/Manifest | 5 | ||||
-rw-r--r-- | sci-libs/openlibm/metadata.xml | 19 | ||||
-rw-r--r-- | sci-libs/openlibm/openlibm-0.5.4.ebuild | 23 |
3 files changed, 47 insertions, 0 deletions
diff --git a/sci-libs/openlibm/Manifest b/sci-libs/openlibm/Manifest new file mode 100644 index 000000000000..f759a935fb35 --- /dev/null +++ b/sci-libs/openlibm/Manifest @@ -0,0 +1,5 @@ +DIST openlibm-0.5.4.tar.gz 353072 SHA256 9a8ae1d17825a4a6a4c013d36a7f4348b27c47eedb6549c521ecc9c79d021c13 SHA512 ca74936b9eb7a52566cc509ffb98dd9e1672cd4029ba0193162505e53fe671b8903c37ef4036c15d0872ca246079a792d1630f3a93024010ff0c232f78295192 WHIRLPOOL 98d4b3f5fb5515fc0044bb9a1bdb5f61816efead9df906a2a959063765d0275ab527568a141ac6e9a3dc4124948a6c74d78ffc577f652ac47c7bc6374b84e360 +EBUILD openlibm-0.5.4.ebuild 710 SHA256 fccd96a64afdc8df7cda613f556788dc0bad412c137bcc516cd6a07408642574 SHA512 b3a4226d579f610bfb28ad9c46d5fcd11870afdca0e1d6133f7e891530615b3dd974bd8cd9452e98cf6d9847c106b53e2b629a3c682ef318431cf4d046a25458 WHIRLPOOL c3aa79da7438c0431e15e8bdcc2a4eb79489cd8e6cb65b11020cf1146190396215ae7ad5e17377c0b4b6fed9a46cb1fa94c40f36a5d79201deddd48d7d273f30 +MISC ChangeLog 2519 SHA256 edac5ba6b6955b726b04de6fd71986c864c94d933bed363a15f0629faae0e8e5 SHA512 fc9dbd9b4c8b57b5460e715ab6adcb307cd2710f47008113a173296c980db040de89d0a636851354251e400bd4f9970792af76fbe1f2e1a9871f9f523a1bf1f7 WHIRLPOOL 27df534a6f0cfbf311d34d094e03175a8d4b4b6bb79f05f92f005c1b5b94b791f2e4a2db81ecb9e3e99f194ad826625bb20e63154a9baa4be497af090c4c3db7 +MISC ChangeLog-2015 1263 SHA256 a0576640bb04005dc29c17a8e5fb60d9e78d753885797cf3d6886e011e69eacd SHA512 9eba8af0d142210eb7643a8ffce87ceffb0ea5e7477088da0a3b0a1786219367dba97da9531befc3b62406350e7753c02c2494176c4f9c938b705fefdb486570 WHIRLPOOL 2a458154a26bb7292c4b474ce20194d4a25678eefa9f967f010b4664f33eb401539d5903da9e387fa761d5f768320b44eb78ed62175f33345184a159c158bd08 +MISC metadata.xml 770 SHA256 6b6caf12b0eea6381ca3e548bb91f7da996ed7e1ea667d3b22d013624d9bae49 SHA512 c95d57f8ffc872aa8e0b4433d7b51bdb2c06f57c7ba00a66f7ecce06310db0343ff91081249154e2c1e32c9a90ed510704603c337530c1ee1acf36ce808b7b70 WHIRLPOOL 4de41fd43f604a52370ad1722a574e82384449cd96fc1505529055fc14ecc5be6126230cec59ccd944b35572bf013de9118130737ff49e31012217a4e95acf17 diff --git a/sci-libs/openlibm/metadata.xml b/sci-libs/openlibm/metadata.xml new file mode 100644 index 000000000000..cd02d5ec2882 --- /dev/null +++ b/sci-libs/openlibm/metadata.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>sci@gentoo.org</email> + <name>Gentoo Science Project</name> + </maintainer> + <longdescription lang="en"> +OpenLibm is an effort to have a high quality, portable, standalone C +mathematical library (libm). It can be used standalone in applications +and programming language implementations. +The project was born out of a need to have a good libm for the Julia +programming langage that worked consistently across compilers and +operating systems, and in 32-bit and 64-bit environments. +</longdescription> + <upstream> + <remote-id type="github">JuliaLang/openlibm</remote-id> + </upstream> +</pkgmetadata> diff --git a/sci-libs/openlibm/openlibm-0.5.4.ebuild b/sci-libs/openlibm/openlibm-0.5.4.ebuild new file mode 100644 index 000000000000..7dbbc695f242 --- /dev/null +++ b/sci-libs/openlibm/openlibm-0.5.4.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils toolchain-funcs fortran-2 + +DESCRIPTION="High quality system independent, open source libm" +HOMEPAGE="https://github.com/JuliaLang/openlibm" +SRC_URI="https://github.com/JuliaLang/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="public-domain MIT ISC BSD-2 LGPL-2.1+" +SLOT="0/${PV}.0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" + +IUSE="static-libs" + +src_install() { + emake DESTDIR="${D}" prefix="${EPREFIX}/usr" \ + libdir="${EPREFIX}/usr/$(get_libdir)" install + use static-libs || rm "${D}/${EPREFIX}/usr/$(get_libdir)/libopenlibm.a" || die "rm failed" + dodoc README.md +} |