Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 48412

Summary: wmbatteries-0.1.3.ebuild (New Package)
Product: Gentoo Linux Reporter: Philipp Sandhaus <philipp.sandhaus>
Component: New packagesAssignee: Michele Noberasco (RETIRED) <s4t4n>
Status: RESOLVED FIXED    
Severity: enhancement CC: philipp.sandhaus
Priority: High Keywords: EBUILD
Version: unspecified   
Hardware: All   
OS: All   
URL: http://sf.net/projects/wmbatteries
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: wmbatteries-0.1.3.ebuild (New Entry)

Description Philipp Sandhaus 2004-04-19 15:05:46 UTC
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
Comment 1 Philipp Sandhaus 2004-04-19 15:11:08 UTC
Created attachment 29659 [details]
wmbatteries-0.1.3.ebuild (New Entry)
Comment 2 Philipp Sandhaus 2004-04-23 00:36:35 UTC
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
}
Comment 3 Michele Noberasco (RETIRED) gentoo-dev 2004-07-16 17:48:26 UTC
In Portage... thank you for the submission!
Simplified the ebuild quite a bit, have a look at it ;-)