forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
x11-plugins/gkrellkam: Eclass update
Package-Manager: Portage-2.3.19, Repoman-2.3.6
- Loading branch information
1 parent
635494d
commit a573eb9
Showing
2 changed files
with
16 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,36 @@ | ||
# Copyright 1999-2014 Gentoo Foundation | ||
# Copyright 1999-2018 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI="5" | ||
inherit eutils gkrellm-plugin toolchain-funcs | ||
EAPI=6 | ||
|
||
inherit gkrellm-plugin toolchain-funcs | ||
|
||
MY_P=${P/-/_} | ||
|
||
DESCRIPTION="an Image-Watcher-Plugin for GKrellM2" | ||
SRC_URI="mirror://sourceforge/gkrellkam/${MY_P}.tar.gz" | ||
HOMEPAGE="http://gkrellkam.sourceforge.net" | ||
|
||
LICENSE="GPL-2" | ||
SLOT="0" | ||
IUSE="" | ||
KEYWORDS="x86 ppc sparc alpha amd64" | ||
IUSE="" | ||
|
||
RDEPEND="net-misc/wget | ||
app-admin/gkrellm[X]" | ||
RDEPEND=" | ||
app-admin/gkrellm:2[X] | ||
net-misc/wget" | ||
DEPEND="${RDEPEND}" | ||
|
||
PLUGIN_SO=gkrellkam2.so | ||
PLUGIN_DOCS="example.list" | ||
|
||
src_prepare() { | ||
epatch "${FILESDIR}"/${P}-makefile.patch | ||
} | ||
PATCHES=( "${FILESDIR}"/${P}-makefile.patch ) | ||
|
||
src_compile() { | ||
emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}" | ||
} | ||
|
||
src_install () { | ||
src_install() { | ||
local PLUGIN_SO=( ${PN}2$(get_modname) ) | ||
local PLUGIN_DOCS=( example.list ) | ||
|
||
gkrellm-plugin_src_install | ||
doman gkrellkam-list.5 | ||
} |