summaryrefslogtreecommitdiff
path: root/sys-apps/colortail/colortail-9999.ebuild
blob: 634a249cac6569aa252aa5e6e38f7e24f8d3072a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DESCRIPTION="tail command with colors"
HOMEPAGE="https://github.com/joakim666/colortail"

EGIT_REPO_URI="https://github.com/joakim666/colortail.git"

inherit git-r3 autotools

LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""

PATCHES=(
	"${FILESDIR}"/02_adding_option.patch
)

DOCS=(TODO README ChangeLog BUGS AUTHORS example-conf/conf.{daemon,kernel,messages,secure,xferlog} )

src_prepare() {
	eautoreconf
	default
}

src_compile() {
	emake || die
}

src_install() {
	emake install DESTDIR="${ED}" || die
	doman "${FILESDIR}/${PN}.1"
	dodoc ${DOCS[@]}
	insinto /etc/colortail
	newins example-conf/conf.messages conf.colortail
}