diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-11-25 22:39:15 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-11-25 22:39:15 +0000 |
commit | d934827bf44b7cfcf6711964418148fa60877668 (patch) | |
tree | 0625f358789b5e015e49db139cc1dbc9be00428f /sci-libs/openlibm/openlibm-0.7.2.ebuild | |
parent | 2e34d110f164bf74d55fced27fe0000201b3eec5 (diff) |
gentoo resync : 25.11.2020
Diffstat (limited to 'sci-libs/openlibm/openlibm-0.7.2.ebuild')
-rw-r--r-- | sci-libs/openlibm/openlibm-0.7.2.ebuild | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/sci-libs/openlibm/openlibm-0.7.2.ebuild b/sci-libs/openlibm/openlibm-0.7.2.ebuild new file mode 100644 index 000000000000..83cb64621d13 --- /dev/null +++ b/sci-libs/openlibm/openlibm-0.7.2.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2020 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 +} |