summaryrefslogtreecommitdiff
path: root/sci-libs/openlibm
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-04-12 03:41:30 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-04-12 03:41:30 +0100
commit623ee73d661e5ed8475cb264511f683407d87365 (patch)
tree993eb27c93ec7a2d2d19550300d888fc1fed9e69 /sci-libs/openlibm
parentceeeb463cc1eef97fd62eaee8bf2196ba04bc384 (diff)
gentoo Easter resync : 12.04.2020
Diffstat (limited to 'sci-libs/openlibm')
-rw-r--r--sci-libs/openlibm/Manifest2
-rw-r--r--sci-libs/openlibm/openlibm-0.7.0.ebuild23
2 files changed, 25 insertions, 0 deletions
diff --git a/sci-libs/openlibm/Manifest b/sci-libs/openlibm/Manifest
index e83b50784832..04ddb614ac99 100644
--- a/sci-libs/openlibm/Manifest
+++ b/sci-libs/openlibm/Manifest
@@ -1,3 +1,5 @@
DIST openlibm-0.5.4.tar.gz 353072 BLAKE2B 2427d207f3b45a5b2a80c3405a6a749c8d62409eea0adb31f26eda6a5dc370f242f5874a6783ada79972ac22183bb55448de683290f4c052967e2e598367f011 SHA512 ca74936b9eb7a52566cc509ffb98dd9e1672cd4029ba0193162505e53fe671b8903c37ef4036c15d0872ca246079a792d1630f3a93024010ff0c232f78295192
+DIST openlibm-0.7.0.tar.gz 366359 BLAKE2B 9dc545e3effedaadefda31ae75759ac8e5afb74250e8a7d9016b1406c235a298a375641207d3561365d750ec442e5ecdbfb1ce8b179a17bdaa48a5e2d5e5af25 SHA512 e52245ea93513fb1d9eade348f7c4ad4f1b500944024f7d52d71d43af908059e581ea77df6fc879414ff17c860263debec3aaf6ac86eea03ee1fe23d180487ed
EBUILD openlibm-0.5.4.ebuild 710 BLAKE2B f4d3155d69697bd7303cb4d92e455590c767fdc91f7e6b848dd8e5f7e62215b9acc1196c585524317a7aa51f37fca26c775c5ef6849db62c8308905c06b5e17d SHA512 b3a4226d579f610bfb28ad9c46d5fcd11870afdca0e1d6133f7e891530615b3dd974bd8cd9452e98cf6d9847c106b53e2b629a3c682ef318431cf4d046a25458
+EBUILD openlibm-0.7.0.ebuild 711 BLAKE2B ea950f0d7ac74e99dd4decf0b7b27b2ad1e67fe31c7e159b8226a6eedd3821655aad2db71e0695ce4bccb2e0b3c4f033590f9a94d9606c3ab3497e4e2bfc8f1a SHA512 092836047064e721859e8a8197bfa8fea07533f11b9ac1429bb15c0ccb6832bb1341f547d7b04f3dec10de70dcbf0d42ad95f29f927b38900001483ab7bbf223
MISC metadata.xml 770 BLAKE2B a75ed3c2d1a22ecb086b22d9ffad8c6d4ab002b7bb63acc60867a88a3126ad3feb1b1ea75ded8e798cd59d128236ab776a53131c6428aa422e1ffa31ee66e5d7 SHA512 c95d57f8ffc872aa8e0b4433d7b51bdb2c06f57c7ba00a66f7ecce06310db0343ff91081249154e2c1e32c9a90ed510704603c337530c1ee1acf36ce808b7b70
diff --git a/sci-libs/openlibm/openlibm-0.7.0.ebuild b/sci-libs/openlibm/openlibm-0.7.0.ebuild
new file mode 100644
index 000000000000..aae8815fd2f8
--- /dev/null
+++ b/sci-libs/openlibm/openlibm-0.7.0.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit eutils toolchain-funcs fortran-2
+
+DESCRIPTION="High quality system independent, open source libm"
+HOMEPAGE="https://github.com/JuliaLang/openlibm"
+SRC_URI="https://codeload.github.com/JuliaMath/openlibm/tar.gz/v${PV} -> ${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
+}