summaryrefslogtreecommitdiff
path: root/x11-plugins/i8krellm/i8krellm-2.5-r3.ebuild
blob: 480e35751f2f74b6764065f3cfa1256edd42f23f (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
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit gkrellm-plugin toolchain-funcs

DESCRIPTION="GKrellM2 Plugin for the Dell Inspiron and Latitude notebooks"
SRC_URI="http://www.coding-zone.com/${P}.tar.gz"
HOMEPAGE="http://www.coding-zone.com/?page=i8krellm"

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

RDEPEND="
	app-admin/gkrellm:2[X]
	>=app-laptop/i8kutils-1.5"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"

PATCHES=(
	"${FILESDIR}"/${P}-Respect-LDFLAGS.patch
	"${FILESDIR}"/${P}-r3-makefile-fixes.patch
	"${FILESDIR}"/${P}-r3-rm-gkrellm1-support.patch
)

src_compile() {
	tc-export PKG_CONFIG
	emake CC="$(tc-getCC)"
}