| 1 |
# Copyright 1999-2004 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmbattery/wmbattery-1.2.1-r2.ebuild,v 1.2 2004/11/01 20:39:41 gustavoz Exp $
|
| 4 |
|
| 5 |
inherit eutils
|
| 6 |
|
| 7 |
IUSE=""
|
| 8 |
S=${WORKDIR}/wmbattery
|
| 9 |
DESCRIPTION="A dockable app to report APM battery stats."
|
| 10 |
SRC_URI="http://kitenet.net/programs/code/wmbattery/wmbattery.tar.gz"
|
| 11 |
HOMEPAGE="http://kitenet.net/programs/wmbattery"
|
| 12 |
|
| 13 |
DEPEND="virtual/x11"
|
| 14 |
|
| 15 |
SLOT="0"
|
| 16 |
LICENSE="GPL-2"
|
| 17 |
KEYWORDS="x86 amd64 -sparc"
|
| 18 |
|
| 19 |
src_compile() {
|
| 20 |
econf || die "Configuration failed"
|
| 21 |
emake icondir="/usr/share/pixmaps/wmbattery" || die "Compilation failed"
|
| 22 |
}
|
| 23 |
|
| 24 |
src_install () {
|
| 25 |
dobin wmbattery
|
| 26 |
dodoc README COPYING TODO
|
| 27 |
|
| 28 |
mv wmbattery.1x wmbattery.1
|
| 29 |
doman wmbattery.1
|
| 30 |
|
| 31 |
#install the icons.
|
| 32 |
insinto /usr/share/pixmaps/wmbattery
|
| 33 |
doins *.xpm
|
| 34 |
}
|