dev-libs/libb64 - 2.0.0.1 (gentoo)

Search

Install

Install this version:

emerge -a =dev-libs/libb64-2.0.0.1

Package Information

Description:
Fast Base64 encoding/decoding routines
Homepage:
https://github.com/libb64/libb64/
License:
CC-PD

Ebuild Details

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

EAPI=8

inherit dot-a toolchain-funcs

DESCRIPTION="Fast Base64 encoding/decoding routines"
HOMEPAGE="https://github.com/libb64/libb64/"
SRC_URI="
	https://github.com/libb64/libb64/archive/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="CC-PD"
# static library, so always rebuild
SLOT="0/${PVR}"
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"
}

src_install() {
	dolib.a src/libb64.a
	insinto /usr/include
	doins -r include/b64
	einstalldocs
	strip-lto-bytecode
}

Inherited Eclasses

Dependencies

BDEPEND

app-arch/unzip

Manifest for 2.0.0.1

Type File Size Source URLs
DIST libb64-2.0.0.1.tar.gz 15766 bytes https://github.com/libb64/libb64/archive/v2.0.0.1.tar.gz