gentoo-ebuilds/app-admin/clog/clog-1.3.0-r1.ebuild
Arthur Zamarin bab48e2eec
app-admin/clog: fix build on musl
Closes: https://bugs.gentoo.org/715248
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2025-10-06 23:38:31 +03:00

25 lines
581 B
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="clog is a colorized log tail utility"
HOMEPAGE="https://taskwarrior.org/docs/clog/"
SRC_URI="https://gothenburgbitfactory.org/download/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~x64-macos"
RESTRICT="test" # No test suite on tar.gz
PATCHES=(
"${FILESDIR}"/${PN}-1.3.0-gcc13.patch
"${FILESDIR}"/${PN}-1.3.0-musl.patch
)
src_prepare() {
sed -i -e 's|share/doc/clog|share/clog|' CMakeLists.txt || die
cmake_src_prepare
}