blob: 5199dafb0752f5a5634077b1ee81531909cd3240 (
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
30
31
32
33
34
35
36
37
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmbatppc/wmbatppc-2.4.ebuild,v 1.3 2006/01/24 22:13:04 nelchael Exp $
inherit eutils
DESCRIPTION="small battery-monitoring dockapp for G3/G4 laptops"
HOMEPAGE="http://titelou.free.fr/wmbatppc/"
SRC_URI="http://titelou.free.fr/wmbatppc/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="-* ppc"
IUSE=""
DEPEND=">=app-laptop/pmud-0.10.1-r2
>=x11-libs/xosd-2.2.5-r1"
src_unpack()
{
unpack ${A}
cd ${S}
# Make it honour Gentoo CFLAGS
epatch ${FILESDIR}/wmbatppc-2.4-cflags.patch
}
src_compile()
{
emake || die "Compilation failed"
}
src_install()
{
dobin wmbatppc || die
doman wmbatppc.1
}
|