summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2002-04-28 02:37:31 +0000
committerSeemant Kulleen <seemant@gentoo.org>2002-04-28 02:37:31 +0000
commit0e723152bc4ec1d1c036e3d82ab7383712a04ee5 (patch)
tree1bbdd486f7c3d65731341cc7d805f150e7663bc3 /app-misc/xbatt
parentadded app-sci category (diff)
downloadhistorical-0e723152bc4ec1d1c036e3d82ab7383712a04ee5.tar.gz
historical-0e723152bc4ec1d1c036e3d82ab7383712a04ee5.tar.bz2
historical-0e723152bc4ec1d1c036e3d82ab7383712a04ee5.zip
cleanup
Diffstat (limited to 'app-misc/xbatt')
-rw-r--r--app-misc/xbatt/xbatt-1.2.1.ebuild15
1 files changed, 7 insertions, 8 deletions
diff --git a/app-misc/xbatt/xbatt-1.2.1.ebuild b/app-misc/xbatt/xbatt-1.2.1.ebuild
index d302d1bf20a9..da8f9193e4f5 100644
--- a/app-misc/xbatt/xbatt-1.2.1.ebuild
+++ b/app-misc/xbatt/xbatt-1.2.1.ebuild
@@ -1,22 +1,21 @@
-# Copyright 2001 Gentoo Technologies, Inc.
+# Copyright 2001-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Damon Conway <damon@3jane.net>
-# $Header: /var/cvsroot/gentoo-x86/app-misc/xbatt/xbatt-1.2.1.ebuild,v 1.1 2001/07/31 11:43:07 hallski Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/xbatt/xbatt-1.2.1.ebuild,v 1.2 2002/04/28 02:37:31 seemant Exp $
-A=${P}.tar.gz
S=${WORKDIR}/${P}
DESCRIPTION="Notebook battery indicataor for X"
-SRC_URI="http://www.clave.gr.jp/~eto/xbatt/${A}"
+SRC_URI="http://www.clave.gr.jp/~eto/xbatt/${P}.tar.gz"
HOMEPAGE="http://www.clave.gr.jp/~eto/xbatt/"
DEPEND="virtual/x11"
src_compile() {
- try xmkmf
- try make xbatt
+ xmkmf || die
+ make xbatt || die
}
src_install () {
- try make DESTDIR=${D} install
- dodoc README* COPYRIGHT
+ make DESTDIR=${D} install || die
+ dodoc README* COPYRIGHT
}