mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-libs/libb64: EAPI=8, add dot-a.eclass, use CC & AR
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
EAPI=8
|
||||
|
||||
inherit dot-a toolchain-funcs
|
||||
|
||||
DESCRIPTION="Fast Base64 encoding/decoding routines"
|
||||
HOMEPAGE="https://github.com/libb64/libb64/"
|
||||
@@ -15,6 +17,11 @@ KEYWORDS="amd64 ~arm64 x86"
|
||||
|
||||
BDEPEND="app-arch/unzip"
|
||||
|
||||
src_configure() {
|
||||
lto-guarantee-fat
|
||||
tc-export CC AR
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# override -O3, -Werror non-sense
|
||||
emake -C src CFLAGS="${CFLAGS} -I../include"
|
||||
@@ -25,4 +32,5 @@ src_install() {
|
||||
insinto /usr/include
|
||||
doins -r include/b64
|
||||
einstalldocs
|
||||
strip-lto-bytecode
|
||||
}
|
||||
Reference in New Issue
Block a user