summaryrefslogtreecommitdiff
path: root/app-emulation/hercules-sdl-decnumber/hercules-sdl-decnumber-9999.ebuild
blob: 8438afda8e156a3f3a2b9670439cb37ec9f0db24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Copyright 2022-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit git-r3 cmake dot-a

DESCRIPTION="ANSI C General Decimal Arithmetic Library"
HOMEPAGE="https://github.com/SDL-Hercules-390/decNumber"
EGIT_REPO_URI="https://github.com/SDL-Hercules-390/decNumber"

LICENSE="icu"
SLOT="0"
PATCHES=( "${FILESDIR}/cmakefix.patch" )

src_configure() {
	lto-guarantee-fat
	cmake_src_configure
}

src_install() {
	cmake_src_install
	strip-lto-bytecode
}