mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08: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>
35 lines
734 B
Bash
35 lines
734 B
Bash
# Copyright 1999-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit gkrellm-plugin toolchain-funcs
|
|
|
|
DESCRIPTION="Nice analog clock for GKrellM2"
|
|
HOMEPAGE="http://gkrellm.srcbox.net/"
|
|
SRC_URI="mirror://gentoo/${P}.tar.gz"
|
|
S="${WORKDIR}/${P/a/A}"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="2"
|
|
KEYWORDS="~alpha amd64 ~ppc ~sparc x86"
|
|
|
|
RDEPEND="app-admin/gkrellm:2[X]"
|
|
DEPEND="${RDEPEND}"
|
|
|
|
PATCHES=(
|
|
"${FILESDIR}"/${PN}-makefile.patch
|
|
)
|
|
|
|
src_prepare() {
|
|
default
|
|
|
|
# The tarball contains a pre-compiled x86 object that needs to be
|
|
# removed if we're going to build it properly. See bug #166133.
|
|
rm -f gkrellaclock.o || die 'failed to remove gkrellaclock.o'
|
|
}
|
|
|
|
src_compile() {
|
|
emake CC="$(tc-getCC)"
|
|
}
|