Files
gentoo/dev-libs/libb64/libb64-2.0.0.1.ebuild
Arthur Zamarin 1ce7ff899d dev-libs/libb64: Stabilize 2.0.0.1 amd64, #889532
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2023-01-04 08:30:11 +02:00

29 lines
608 B
Bash

# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
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 x86"
BDEPEND="app-arch/unzip"
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
}