sci-libs/fdlibm - 5.3.1 (science)

Search

Package Information

Description:
C math library supporting IEEE 754 floating-point arithmetic
Homepage:
https://www.netlib.org/fdlibm
License:
freedist

Ebuild Details

Version EAPI Keywords Slot
5.3.1 8 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit cmake

DESCRIPTION="C math library supporting IEEE 754 floating-point arithmetic"
HOMEPAGE="https://www.netlib.org/fdlibm"
SRC_URI="https://github.com/batlogic/fdlibm/archive/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="freedist"
SLOT="0"
KEYWORDS="~amd64 ~x86"

PATCHES=(
	"${FILESDIR}/${PN}-no-Werror.patch"
)

src_prepare() {
	mv CMakelists.txt CMakeLists.txt || die
	cmake_src_prepare
}

src_install() {
	cmake_src_install
	mv "${ED}/usr/lib" "${ED}/usr/$(get_libdir)" || die
}

Manifest for 5.3.1

Type File Size Source URLs
DIST fdlibm-5.3.1.tar.gz 76046 bytes https://github.com/batlogic/fdlibm/archive/v5.3.1.tar.gz