summaryrefslogtreecommitdiff
blob: 18c852bed86f7acbe72fe0dc9d9cc59823904166 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-misc/xbattbar/xbattbar-1.4.2.ebuild,v 1.1 2003/06/19 19:58:29 mkeadle Exp $

IUSE=""

DESCRIPTION="Advanced Power Management battery status display for X"
HOMEPAGE="http://iplab.aist-nara.ac.jp/member/suguru/xbattbar.html"
SRC_URI="http://iplab.aist-nara.ac.jp/member/suguru/${P/-/_}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
DEPEND="virtual/x11"
RDEPEND="${DEPEND}"

src_compile() {

	xmkmf -a || die "xmkmf failed"
	emake
	mv xbattbar.{man,1}
}

src_install() {

	dobin xbattbar

	doman xbattbar.1
	dodoc COPYING README copyright
}