Hi! Please find attached wmbatteries-0.1.3.ebuild. wmbatteries is dockapp for windowmaker,fluxbox,blackbox... and is based on wmacpiload. the dockapp provides information of up to 2 batteries at time,remaining battery time and also cpu temperature or current power consumption. I suggest x11-plugins/wmbatteries. Philipp
Created attachment 29659 [details] wmbatteries-0.1.3.ebuild (New Entry)
Comment on attachment 29659 [details] wmbatteries-0.1.3.ebuild (New Entry) # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils IUSE="acpi" DESCRIPTION="Docklet for monitoring the current battery status and CPU temperatu re" HOMEPAGE="http://sourceforge.net/projects/wmbatteries" SRC_URI="http://heanet.dl.sourceforge.net/sourceforge/wmbatteries/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="x86 sparc amd64" DEPEND="virtual/x11" src_unpack() { unpack ${A} cd ${S} } src_compile() { econf || die emake OPT="${CFLAGS}" || die } src_install() { dobin wmbatteries doman doc/*.1 dodoc AUTHORS THANKS README example/wmbatteriesrc }
In Portage... thank you for the submission! Simplified the ebuild quite a bit, have a look at it ;-)