summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Ramsay <lack@gentoo.org>2007-03-09 19:22:43 +0000
committerJim Ramsay <lack@gentoo.org>2007-03-09 19:22:43 +0000
commit8a82e748cbeacb7c4890ba165956db9eb5ae9074 (patch)
treef47b43a316872b85e6179089c9c90779356f1ad9 /x11-plugins/gkrellm-leds
parentUpdated to use new gkrellm-plugin eclass (diff)
downloadgentoo-2-8a82e748cbeacb7c4890ba165956db9eb5ae9074.tar.gz
gentoo-2-8a82e748cbeacb7c4890ba165956db9eb5ae9074.tar.bz2
gentoo-2-8a82e748cbeacb7c4890ba165956db9eb5ae9074.zip
Updated to use new gkrellm-plugin eclass
(Portage version: 2.1.2-r10)
Diffstat (limited to 'x11-plugins/gkrellm-leds')
-rw-r--r--x11-plugins/gkrellm-leds/ChangeLog5
-rw-r--r--x11-plugins/gkrellm-leds/gkrellm-leds-0.8.1.ebuild22
2 files changed, 13 insertions, 14 deletions
diff --git a/x11-plugins/gkrellm-leds/ChangeLog b/x11-plugins/gkrellm-leds/ChangeLog
index 30771f7e8778..b9b54f964b51 100644
--- a/x11-plugins/gkrellm-leds/ChangeLog
+++ b/x11-plugins/gkrellm-leds/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for x11-plugins/gkrellm-leds
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-plugins/gkrellm-leds/ChangeLog,v 1.18 2007/02/21 21:19:52 lack Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/gkrellm-leds/ChangeLog,v 1.19 2007/03/09 19:22:43 lack Exp $
+
+ 09 Mar 2007; Jim Ramsay <lack@gentoo.org> gkrellm-leds-0.8.1.ebuild:
+ Updated to use new gkrellm-plugin eclass
21 Feb 2007; Jim Ramsay <lack@gentoo.org> -gkrellm-leds-0.6.1.ebuild,
-gkrellm-leds-0.8.0.ebuild:
diff --git a/x11-plugins/gkrellm-leds/gkrellm-leds-0.8.1.ebuild b/x11-plugins/gkrellm-leds/gkrellm-leds-0.8.1.ebuild
index e35514ef2e76..0f9408d899d7 100644
--- a/x11-plugins/gkrellm-leds/gkrellm-leds-0.8.1.ebuild
+++ b/x11-plugins/gkrellm-leds/gkrellm-leds-0.8.1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-plugins/gkrellm-leds/gkrellm-leds-0.8.1.ebuild,v 1.10 2005/04/27 20:43:55 herbs Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/gkrellm-leds/gkrellm-leds-0.8.1.ebuild,v 1.11 2007/03/09 19:22:43 lack Exp $
-inherit multilib
+inherit gkrellm-plugin
IUSE=""
MY_P=${P/rellm-/}
@@ -11,19 +11,15 @@ DESCRIPTION="GKrellM2 plugin for monitoring keyboard LEDs"
SRC_URI="http://heim.ifi.uio.no/~oyvinha/e107_files/downloads/${MY_P}.tar.gz"
HOMEPAGE="http://www.stud.ifi.uio.no/~oyvinha/gkleds/"
-DEPEND="=app-admin/gkrellm-2*"
-
SLOT="2"
LICENSE="GPL-2"
KEYWORDS="x86 ppc sparc alpha amd64"
-src_compile() {
- make || die
-}
-
-src_install() {
- insinto /usr/$(get_libdir)/gkrellm2/plugins
- doins gkleds.so
+PLUGIN_SO=gkleds.so
- dodoc COPYING Changelog License TODO INSTALL README
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ # Includes for gcc-4
+ sed -i -e '/^#include <stdio.h>/a#include <string.h>' src/gkleds_com.h || die "Patch failed"
}