mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-19 16:38:01 +00:00
Signed-off-by: Matoro Mahri <matoro_gentoo@matoro.tk> Part-of: https://github.com/gentoo/gentoo/pull/45052 Signed-off-by: Sam James <sam@gentoo.org>
30 lines
754 B
Bash
30 lines
754 B
Bash
# Copyright 2022-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit cmake dot-a
|
|
|
|
# Use ../hercules-sdl/files/gen_hashes.sh to identify the relevant
|
|
# commit when tagging new versions.
|
|
COMMIT="e053494d988ec0648c92f683abce52597bfae745"
|
|
|
|
DESCRIPTION="Berkeley IEEE Binary Floating-Point Library"
|
|
HOMEPAGE="https://github.com/SDL-Hercules-390/SoftFloat"
|
|
SRC_URI="https://github.com/SDL-Hercules-390/SoftFloat/archive/${COMMIT}.tar.gz -> ${PN}-${COMMIT}.tar.gz"
|
|
|
|
S="${WORKDIR}/SoftFloat-${COMMIT}"
|
|
LICENSE="BSD"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~ppc64"
|
|
PATCHES=( "${FILESDIR}/cmakefix.patch" )
|
|
|
|
src_configure() {
|
|
lto-guarantee-fat
|
|
cmake_src_configure
|
|
}
|
|
|
|
src_install() {
|
|
cmake_src_install
|
|
strip-lto-bytecode
|
|
}
|