summaryrefslogtreecommitdiff
path: root/app-misc/hilite/hilite-1.5-r1.ebuild
blob: d493dcb9073e84c8d3c3f460a9157e3dc031dce5 (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
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit edo toolchain-funcs

DESCRIPTION="Utility which highlights stderr text in red"
HOMEPAGE="https://sourceforge.net/projects/hilite"
SRC_URI="mirror://gentoo/${P}.c"
S="${WORKDIR}"

LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="amd64 ~hppa ~mips ppc ~sparc x86"

src_unpack() {
	cp "${DISTDIR}"/${P}.c ${P}.c || die
}

src_compile() {
	edo $(tc-getCC) ${LDFLAGS} ${CFLAGS} -o ${PN} ${P}.c || die
}

src_install() {
	dobin "${PN}"
}