diff options
author | Jim Ramsay <lack@gentoo.org> | 2007-03-09 19:22:43 +0000 |
---|---|---|
committer | Jim Ramsay <lack@gentoo.org> | 2007-03-09 19:22:43 +0000 |
commit | 6f58357356c2db20adcb0ad69593689ed5439953 (patch) | |
tree | 9e506eeb868f5bfffb1650de4e43966838a8fd71 /x11-plugins/gkrellm-leds/gkrellm-leds-0.8.1.ebuild | |
parent | Updated to use new gkrellm-plugin eclass (diff) | |
download | historical-6f58357356c2db20adcb0ad69593689ed5439953.tar.gz historical-6f58357356c2db20adcb0ad69593689ed5439953.tar.bz2 historical-6f58357356c2db20adcb0ad69593689ed5439953.zip |
Updated to use new gkrellm-plugin eclass
Package-Manager: portage-2.1.2-r10
Diffstat (limited to 'x11-plugins/gkrellm-leds/gkrellm-leds-0.8.1.ebuild')
-rw-r--r-- | x11-plugins/gkrellm-leds/gkrellm-leds-0.8.1.ebuild | 22 |
1 files changed, 9 insertions, 13 deletions
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" } |