You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sys-apps/colorized-logs/colorized-logs-2.6.ebuild

25 lines
660 B

# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="Tools for logs with ANSI color"
HOMEPAGE="https://github.com/kilobyte/colorized-logs/"
SRC_URI="https://github.com/kilobyte/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv x86"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}"
src_install() {
cmake_src_install
# Rename to not collide with dev-python/ansi2html
mv "${ED}/usr/bin/ansi2html" "${ED}/usr/bin/cl-ansi2html" || die
mv "${ED}/usr/share/man/man1/ansi2html.1" "${ED}/usr/share/man/man1/cl-ansi2html.1" || die
}