mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-14 22:19:55 +00:00
Result of running the command: grep --include="*.ebuild" -r . -e 'KEYWORDS=.*[" ]sparc' -l | xargs ekeyword ~sparc Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
29 lines
679 B
Bash
29 lines
679 B
Bash
# Copyright 1999-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
inherit toolchain-funcs
|
|
|
|
DESCRIPTION="Enable colorization of man pages"
|
|
HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
|
|
|
S=${WORKDIR}
|
|
|
|
src_compile() {
|
|
local cmd=(
|
|
$(tc-getCC) ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}
|
|
"${FILESDIR}"/manpager.c -o ${PN}
|
|
)
|
|
echo "${cmd[@]}"
|
|
"${cmd[@]}" || die
|
|
}
|
|
|
|
src_install() {
|
|
dobin ${PN}
|
|
echo "MANPAGER=manpager" | newenvd - 00manpager
|
|
}
|