/[gentoo-x86]/x11-plugins/wmbattery/wmbattery-2.44.ebuild
Gentoo

Contents of /x11-plugins/wmbattery/wmbattery-2.44.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Tue Jul 29 18:11:19 2014 UTC (5 years, 5 months ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +2 -2 lines
amd64/x86 stable (since there is no chance 2.40 or 2.43 works at all on modern systems)

(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmbattery/wmbattery-2.44.ebuild,v 1.1 2014/07/29 18:10:06 ssuominen Exp $
4
5 EAPI=5
6 inherit autotools
7
8 DESCRIPTION="A dockable app to report APM, ACPI, or SPIC battery status"
9 HOMEPAGE="http://joeyh.name/code/wmbattery/"
10 SRC_URI="mirror://debian/pool/main/w/${PN}/${PN}_${PV}.tar.gz"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="amd64 ~ppc -sparc x86"
15 IUSE="upower"
16
17 RDEPEND="sys-apps/apmd
18 x11-libs/libX11
19 x11-libs/libXext
20 x11-libs/libXpm
21 upower? ( || ( >=sys-power/upower-0.9.23 sys-power/upower-pm-utils ) )"
22 DEPEND="${RDEPEND}
23 virtual/pkgconfig"
24
25 DOCS=( README TODO debian/changelog )
26
27 src_prepare() {
28 sed -i \
29 -e '/^icondir/s:icons:pixmaps:' \
30 autoconf/makeinfo.in || die
31
32 use upower || { sed -i -e 's:USE_UPOWER = 1:#&:' autoconf/makeinfo.in || die; }
33
34 eautoconf
35 }

  ViewVC Help
Powered by ViewVC 1.1.20