diff options
author | Aisha Tammy <gentoo@aisha.cc> | 2021-02-03 17:55:38 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-02-05 04:20:56 +0000 |
commit | 9bc56fe26dce5a0ffc0925a4d1f1cfd494bc3b5a (patch) | |
tree | da0133475988861368bc346b75afb63e00f92160 /sci-libs/openlibm | |
parent | media-libs/openimageio: version bump to 2.2.11.1 (diff) | |
download | gentoo-9bc56fe26dce5a0ffc0925a4d1f1cfd494bc3b5a.tar.gz gentoo-9bc56fe26dce5a0ffc0925a4d1f1cfd494bc3b5a.tar.bz2 gentoo-9bc56fe26dce5a0ffc0925a4d1f1cfd494bc3b5a.zip |
sci-libs/openlibm: version bump to 0.7.4
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Aisha Tammy <gentoo@aisha.cc>
Closes: https://github.com/gentoo/gentoo/pull/19317
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sci-libs/openlibm')
-rw-r--r-- | sci-libs/openlibm/Manifest | 1 | ||||
-rw-r--r-- | sci-libs/openlibm/openlibm-0.7.4.ebuild | 33 |
2 files changed, 34 insertions, 0 deletions
diff --git a/sci-libs/openlibm/Manifest b/sci-libs/openlibm/Manifest index 1eed47ab8e47..a863ff69ae10 100644 --- a/sci-libs/openlibm/Manifest +++ b/sci-libs/openlibm/Manifest @@ -1 +1,2 @@ DIST openlibm-0.7.3.tar.gz 366268 BLAKE2B 31cb50e64a3211770b1b91550382a2d4844af020a3e71dd2a7268f8faf3b3b4b54feedf4de19f27b7b74efa05961999d2b76416b1b615a554dc794cac782306f SHA512 433ec9ed5c0364b58fe1eff8760b64ad4203c7711fef02ed12d0070a34442b10c806fe6bccd81eadaa7758af2dd116c76bb769480c56e3320d548aff29d249a7 +DIST openlibm-0.7.4.tar.gz 366281 BLAKE2B fde965cdf66e8a872761e3df0715527d768a12a44b03af16a16898e66223ddb16809d13966a3ec222eb1b4fda2d560b614975c731df755a99b1d5f53a3da12fe SHA512 d824f909c52dfe78a5e090187d32f8c4744776235bfe3ad1fdb68ea3d3f8d1d358f228d0c83fbd5baa558a603c66c171e74e3f2c0cdb3d517f19930eadd35a91 diff --git a/sci-libs/openlibm/openlibm-0.7.4.ebuild b/sci-libs/openlibm/openlibm-0.7.4.ebuild new file mode 100644 index 000000000000..ca3ab8af5117 --- /dev/null +++ b/sci-libs/openlibm/openlibm-0.7.4.ebuild @@ -0,0 +1,33 @@ +# 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" + +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 +} |