summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2018-01-03 23:34:33 +0100
committerDavid Seifert <soap@gentoo.org>2018-01-04 10:16:11 +0100
commita573eb974e9204b58c7d2395e957de76a2f525ba (patch)
tree86cda4c8a3603b148f40fc405bf302956b57cd9a /x11-plugins
parentx11-plugins/gkrellm-volume: Eclass update (diff)
downloadgentoo-a573eb974e9204b58c7d2395e957de76a2f525ba.tar.gz
gentoo-a573eb974e9204b58c7d2395e957de76a2f525ba.tar.bz2
gentoo-a573eb974e9204b58c7d2395e957de76a2f525ba.zip
x11-plugins/gkrellkam: Eclass update
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'x11-plugins')
-rw-r--r--x11-plugins/gkrellkam/files/gkrellkam-2.0.0-makefile.patch4
-rw-r--r--x11-plugins/gkrellkam/gkrellkam-2.0.0.ebuild27
2 files changed, 16 insertions, 15 deletions
diff --git a/x11-plugins/gkrellkam/files/gkrellkam-2.0.0-makefile.patch b/x11-plugins/gkrellkam/files/gkrellkam-2.0.0-makefile.patch
index 83178b4b0ff8..f897f4102b6c 100644
--- a/x11-plugins/gkrellkam/files/gkrellkam-2.0.0-makefile.patch
+++ b/x11-plugins/gkrellkam/files/gkrellkam-2.0.0-makefile.patch
@@ -1,5 +1,5 @@
---- Makefile 2002-10-23 18:36:20.000000000 +0200
-+++ Makefile_new 2013-03-16 14:02:42.979029588 +0100
+--- a/Makefile
++++ b/Makefile
@@ -12,10 +12,10 @@
# This should point to the GKrellM headers
GKRELLM_HDRS = /usr/include
diff --git a/x11-plugins/gkrellkam/gkrellkam-2.0.0.ebuild b/x11-plugins/gkrellkam/gkrellkam-2.0.0.ebuild
index ae3ad974d5de..bbb98a017154 100644
--- a/x11-plugins/gkrellkam/gkrellkam-2.0.0.ebuild
+++ b/x11-plugins/gkrellkam/gkrellkam-2.0.0.ebuild
@@ -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
}