diff options
author | Mikael Hallendal <hallski@gentoo.org> | 2001-10-08 19:23:11 +0000 |
---|---|---|
committer | Mikael Hallendal <hallski@gentoo.org> | 2001-10-08 19:23:11 +0000 |
commit | c59c5565effb8947956b2d21e9620002defbf86a (patch) | |
tree | 88ac36cfc13f657a5f01d3fa353faff2ec88cee3 /gnome-extra/battstat | |
parent | new ebuild that depends on all of kde-base/*-${PV}. like (diff) | |
download | gentoo-2-c59c5565effb8947956b2d21e9620002defbf86a.tar.gz gentoo-2-c59c5565effb8947956b2d21e9620002defbf86a.tar.bz2 gentoo-2-c59c5565effb8947956b2d21e9620002defbf86a.zip |
don't use CHOST (for some reason) and don't use A=
Diffstat (limited to 'gnome-extra/battstat')
-rw-r--r-- | gnome-extra/battstat/battstat-2.0.10-r1.ebuild | 39 | ||||
-rw-r--r-- | gnome-extra/battstat/files/digest-battstat-2.0.10-r1 | 1 |
2 files changed, 40 insertions, 0 deletions
diff --git a/gnome-extra/battstat/battstat-2.0.10-r1.ebuild b/gnome-extra/battstat/battstat-2.0.10-r1.ebuild new file mode 100644 index 000000000000..06174a0940b2 --- /dev/null +++ b/gnome-extra/battstat/battstat-2.0.10-r1.ebuild @@ -0,0 +1,39 @@ +# 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-r1.ebuild,v 1.1 2001/10/08 19:23:11 hallski Exp $ + +S=${WORKDIR}/battstat_applet-${PV} +DESCRIPTION="Battstat Applet, GNOME battery status applet." +SRC_URI="http://download.sourceforge.net/battstat/battstat_applet-${PV}.tar.gz" +HOMEPAGE="http://battstat.sourceforge.net" + +DEPEND="virtual/glibc + >=gnome-base/gnome-libs-1.4.1.2-r1 + >=gnome-base/gnome-core-1.4.0.4-r1 + >=sys-apps/apmd-3.0.1 + nls? ( sys-devel/gettext )" + +src_compile() { + local myconf + + if [ -z "`use nls`" ] ; then + myconf="--disable-nls" + fi + + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var/lib \ + $myconf || die + + emake || die +} + +src_install () { + make prefix=${D}/usr \ + sysconfdir=${D}/etc \ + localstatedir=${D}/var/lib \ + install || die + + dodoc AUTHORS COPYING ChangeLog NEWS README TODO +} diff --git a/gnome-extra/battstat/files/digest-battstat-2.0.10-r1 b/gnome-extra/battstat/files/digest-battstat-2.0.10-r1 new file mode 100644 index 000000000000..608e047a5e46 --- /dev/null +++ b/gnome-extra/battstat/files/digest-battstat-2.0.10-r1 @@ -0,0 +1 @@ +MD5 606bb5470828d761afc2a940b117e295 battstat_applet-2.0.10.tar.gz |