summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/gkrellm/ChangeLog7
-rw-r--r--app-admin/gkrellm/files/digest-gkrellm-2.1.8a1
-rw-r--r--app-admin/gkrellm/gkrellm-2.1.8a.ebuild74
3 files changed, 81 insertions, 1 deletions
diff --git a/app-admin/gkrellm/ChangeLog b/app-admin/gkrellm/ChangeLog
index 6d21b9de6a1d..5b389d5635f8 100644
--- a/app-admin/gkrellm/ChangeLog
+++ b/app-admin/gkrellm/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-admin/gkrellm
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/gkrellm/ChangeLog,v 1.36 2003/03/12 14:18:35 weeve Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/gkrellm/ChangeLog,v 1.37 2003/03/16 03:26:38 seemant Exp $
+
+*gkrellm-2.1.8a (15 Mar 2003)
+
+ 15 Mar 2003; Seemant Kulleen <seemant@gentoo.org> gkrellm-2.1.8a.ebuild:
+ version bump thanks to: Jordan <lx_xero@zapo.net> in bug #17589
*gkrellm-2.1.7a (17 Feb 2003)
diff --git a/app-admin/gkrellm/files/digest-gkrellm-2.1.8a b/app-admin/gkrellm/files/digest-gkrellm-2.1.8a
new file mode 100644
index 000000000000..9b77d9209cb7
--- /dev/null
+++ b/app-admin/gkrellm/files/digest-gkrellm-2.1.8a
@@ -0,0 +1 @@
+MD5 5d9112c82b9cd4aae28a00325e2369ec gkrellm-2.1.8a.tar.bz2 597349
diff --git a/app-admin/gkrellm/gkrellm-2.1.8a.ebuild b/app-admin/gkrellm/gkrellm-2.1.8a.ebuild
new file mode 100644
index 000000000000..f9c9cb0af9d8
--- /dev/null
+++ b/app-admin/gkrellm/gkrellm-2.1.8a.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/gkrellm/gkrellm-2.1.8a.ebuild,v 1.1 2003/03/16 03:26:38 seemant Exp $
+
+IUSE="gtk gtk2 nls"
+
+S=${WORKDIR}/${P/a}
+DESCRIPTION="Single process stack of various system monitors"
+SRC_URI="http://web.wt.net/~billw/${PN}/${P}.tar.bz2"
+HOMEPAGE="http://www.gkrellm.net/"
+
+SLOT="2"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~ppc ~alpha ~sparc ~hppa ~mips"
+
+DEPEND="gtk? ( >=x11-libs/gtk+-2.0.5 )
+ gtk2? ( >=x11-libs/gtk+-2.0.5 )"
+
+RDEPEND="nls? ( sys-devel/gettext )"
+
+src_compile() {
+ if [ ! "`use nls`" ]; then
+ cp Makefile Makefile.orig
+ sed -e "s:enable_nls=1:enable_nls=0:" Makefile.orig > Makefile
+ fi
+
+ if use gtk2 || use gtk
+ then
+ emake || die
+ else
+ cd ${S}/server
+ emake glib12=1 || die
+ fi
+}
+
+src_install() {
+ dodir /usr/{bin,include,share/man}
+
+ if use gtk2 || use gtk
+ then
+ keepdir /usr/share/gkrellm2/themes
+ keepdir /usr/lib/gkrellm2/plugins
+
+ make install \
+ INSTALLDIR=${D}/usr/bin \
+ MANDIR=${D}/usr/share/man/man1 \
+ INCLUDEDIR=${D}/usr/include \
+ LOCALEDIR=${D}/usr/share/locale
+
+ cd ${S}
+ mv gkrellm.1 gkrellm2.1
+
+ mv src/gkrellm src/gkrellm2
+ dobin src/gkrellm2
+ rm -f ${D}/usr/bin/gkrellm
+ else
+ cd ${S}/server
+ dobin gkrellmd
+ cd ${S}
+ rm gkrellm.1
+ fi
+
+ rm -f ${D}/usr/share/man/man1/*
+ doman *.1
+
+ exeinto /etc/init.d
+ doexe ${FILESDIR}/gkrellmd
+
+ insinto /etc
+ doins server/gkrellmd.conf
+
+ dodoc COPYRIGHT README Changelog
+ dohtml *.html
+}