summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolic <jakov.smolic@sartura.hr>2021-01-24 14:48:26 +0100
committerDavid Seifert <soap@gentoo.org>2021-01-24 14:48:26 +0100
commitacd2db10bb7b3980499f2e005c1a63b78a98f76d (patch)
treeffdb23612bcf5e5b60dee1ed1c550a01e154ec81 /sci-libs
parentsci-misc/h5utils: Bump to 1.13.1 (diff)
downloadgentoo-acd2db10bb7b3980499f2e005c1a63b78a98f76d.tar.gz
gentoo-acd2db10bb7b3980499f2e005c1a63b78a98f76d.tar.bz2
gentoo-acd2db10bb7b3980499f2e005c1a63b78a98f76d.zip
sci-libs/openlibm: Bump to 0.7.3
Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr> Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/openlibm/Manifest1
-rw-r--r--sci-libs/openlibm/openlibm-0.7.3.ebuild35
2 files changed, 36 insertions, 0 deletions
diff --git a/sci-libs/openlibm/Manifest b/sci-libs/openlibm/Manifest
index 7165687c80a6..e38a7fb73300 100644
--- a/sci-libs/openlibm/Manifest
+++ b/sci-libs/openlibm/Manifest
@@ -1 +1,2 @@
DIST openlibm-0.7.2.tar.gz 366285 BLAKE2B 0086d026e53c337e20dc895dad38157308b16392f590c8a2c2f7699f2bb8bd5bd0d1931672c2d31a320af0a5ad1cc2e10f2eeb953f30382cfcae5aaac0adc478 SHA512 25e5c28ef898d905ff589d24efb87a99f3772d59596ad5660afc7cafbcd709bca167e863aadc84b90b930add036d285db1332faa9adf1b73562abf1185b9ee5c
+DIST openlibm-0.7.3.tar.gz 366268 BLAKE2B 31cb50e64a3211770b1b91550382a2d4844af020a3e71dd2a7268f8faf3b3b4b54feedf4de19f27b7b74efa05961999d2b76416b1b615a554dc794cac782306f SHA512 433ec9ed5c0364b58fe1eff8760b64ad4203c7711fef02ed12d0070a34442b10c806fe6bccd81eadaa7758af2dd116c76bb769480c56e3320d548aff29d249a7
diff --git a/sci-libs/openlibm/openlibm-0.7.3.ebuild b/sci-libs/openlibm/openlibm-0.7.3.ebuild
new file mode 100644
index 000000000000..baa2bdfd1729
--- /dev/null
+++ b/sci-libs/openlibm/openlibm-0.7.3.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="High quality system independent, open source libm"
+HOMEPAGE="https://github.com/JuliaLang/openlibm"
+SRC_URI="https://github.com/JuliaMath/openlibm/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="public-domain MIT ISC BSD-2 LGPL-2.1+"
+# See https://abi-laboratory.pro/index.php?view=timeline&l=openlibm
+SLOT="0/3"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+
+PATCHES=( "${FILESDIR}"/${PN}-0.7.2-make_inc.patch )
+
+src_prepare() {
+ default
+ sed -e "/^OLM_LIBS :=/s/^/#/" \
+ -e "/install: /s/install-static//" \
+ -i Makefile || die
+}
+
+src_configure() {
+ tc-export CC CXX FC AR LD
+ default
+}
+
+src_install() {
+ emake DESTDIR="${D}" prefix="${EPREFIX}/usr" \
+ libdir="${EPREFIX}/usr/$(get_libdir)" install
+ dodoc README.md
+}