Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 48412 - wmbatteries-0.1.3.ebuild (New Package)
Summary: wmbatteries-0.1.3.ebuild (New Package)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement
Assignee: Michele Noberasco (RETIRED)
URL: http://sf.net/projects/wmbatteries
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2004-04-19 15:05 UTC by Philipp Sandhaus
Modified: 2004-07-16 17:48 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
wmbatteries-0.1.3.ebuild (New Entry) (wmbatteries-0.1.3.ebuild,657 bytes, text/plain)
2004-04-19 15:11 UTC, Philipp Sandhaus
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ;-)