summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikael Hallendal <hallski@gentoo.org>2001-07-31 08:28:57 +0000
committerMikael Hallendal <hallski@gentoo.org>2001-07-31 08:28:57 +0000
commitcd2001cebae7f9a2acc56ae1dce959c38d8704db (patch)
treec3186ef59966bde3720b4df92c25405850d87003 /gnome-extra/battstat
parentMy mistake in adding this again. (diff)
downloadhistorical-cd2001cebae7f9a2acc56ae1dce959c38d8704db.tar.gz
historical-cd2001cebae7f9a2acc56ae1dce959c38d8704db.tar.bz2
historical-cd2001cebae7f9a2acc56ae1dce959c38d8704db.zip
installed battstat, a battery status applet for the GNOME panel, _MUCH_ nicer then the default
Diffstat (limited to 'gnome-extra/battstat')
-rw-r--r--gnome-extra/battstat/battstat-2.0.10.ebuild40
-rw-r--r--gnome-extra/battstat/files/digest-battstat-2.0.102
2 files changed, 42 insertions, 0 deletions
diff --git a/gnome-extra/battstat/battstat-2.0.10.ebuild b/gnome-extra/battstat/battstat-2.0.10.ebuild
new file mode 100644
index 000000000000..5aca4ec640f0
--- /dev/null
+++ b/gnome-extra/battstat/battstat-2.0.10.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Mikael Hallendal <hallski@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/battstat/battstat-2.0.10.ebuild,v 1.1 2001/07/31 08:28:57 hallski Exp $
+
+A="battstat_applet-${PV}.tar.gz"
+S=${WORKDIR}/battstat_applet-${PV}
+DESCRIPTION="Battstat Applet, GNOME battery status applet."
+SRC_URI="http://download.sourceforge.net/battstat/${A}"
+HOMEPAGE="http://battstat.sourceforge.net"
+
+DEPEND="virtual/glibc
+ >=gnome-base/gnome-libs-1.2.0
+ >=gnome-base/gnome-core-1.4.0
+ >=sys-apps/apmd-3.0.1
+ nls? ( sys-devel/gettext )"
+
+src_compile() {
+ local myconf
+
+ if [ -z "`use nls`" ] ; then
+ myconf="--disable-nls"
+ fi
+
+ cd ${S}
+
+ try ./configure --prefix=/opt/gnome --sysconfdir=/etc/opt/gnome \
+ --mandir=/opt/gnome/man $myconf
+
+ try make
+
+}
+
+src_install () {
+
+ try make DESTDIR=${D} install
+
+ dodoc AUTHORS COPYING ChangeLog NEWS README TODO
+
+}
diff --git a/gnome-extra/battstat/files/digest-battstat-2.0.10 b/gnome-extra/battstat/files/digest-battstat-2.0.10
new file mode 100644
index 000000000000..0cd4bd6c103c
--- /dev/null
+++ b/gnome-extra/battstat/files/digest-battstat-2.0.10
@@ -0,0 +1,2 @@
+MD5 606bb5470828d761afc2a940b117e295 battstat_applet-2.0.10.tar.gz
+MD5 faa5bcadb9aa6b9e62f0b60d5699b2cd apmd-3.0.tar.gz