dev-libs/openspecfun - 0.5.5 (gentoo)

Search

Package Information

Description:
A collection of special mathematical functions
Homepage:
https://julialang.org
License:
MIT public-domain

Ebuild Details

Version EAPI Keywords Slot
0.5.5 8 amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 x86 0
View Raw Ebuild
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit fortran-2 toolchain-funcs

DESCRIPTION="A collection of special mathematical functions"
HOMEPAGE="https://julialang.org"
SRC_URI="https://github.com/JuliaLang/openspecfun/archive/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="MIT public-domain"
SLOT="0"
KEYWORDS="amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 x86"

DEPEND="sci-libs/openlibm:="
RDEPEND="${DEPEND}"

PATCHES=( "${FILESDIR}"/${P}-Makefile.patch )

src_configure() {
	tc-export CC
}

src_compile() {
	emake \
		prefix="${EPREFIX}"/usr \
		libdir="${EPREFIX}"/usr/$(get_libdir) \
		USE_OPENLIBM=1
}

src_install() {
	emake \
		prefix="${EPREFIX}"/usr \
		libdir="${EPREFIX}"/usr/$(get_libdir) \
		DESTDIR="${D}" \
		install
	einstalldocs

	find "${ED}" -name '*.la' -delete || die
}

Dependencies

DEPEND

sci-libs/openlibm:=

RDEPEND

sci-libs/openlibm:=

Manifest for 0.5.5

Type File Size Source URLs
DIST openspecfun-0.5.5.tar.gz 121025 bytes https://github.com/JuliaLang/openspecfun/archive/v0.5.5.tar.gz