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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Fri Apr 17 12:10:54 2015 UTC (4 years, 10 months ago) by voyageur
Branch: MAIN
CVS Tags: HEAD
Version bump, better upower support and apm is now optional

(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 00F7AB331B0F097F)

1 # Copyright 1999-2015 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.45.ebuild,v 1.2 2014/11/05 13:05:51 voyageur 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://windowmaker.org/dockapps/?name=wmbattery"
10 # Grab from http://windowmaker.org/dockapps/?download=${P}.tar.gz
11 SRC_URI="http://dev.gentoo.org/~voyageur/distfiles/${P}.tar.gz"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="~amd64 ~ppc -sparc ~x86"
16 IUSE="apm +upower"
17
18 RDEPEND="apm? ( sys-apps/apmd )
19 x11-libs/libX11
20 x11-libs/libXext
21 x11-libs/libXpm
22 upower? ( || ( >=sys-power/upower-0.9.23 sys-power/upower-pm-utils ) )"
23 DEPEND="${RDEPEND}
24 virtual/pkgconfig"
25
26 S=${WORKDIR}/dockapps
27
28 DOCS=( ChangeLog README TODO )
29
30 src_prepare() {
31 sed -i \
32 -e '/^icondir/s:icons:pixmaps:' \
33 autoconf/makeinfo.in || die
34
35 use upower || { sed -i -e 's:USE_UPOWER = 1:#&:' autoconf/makeinfo.in || die; }
36
37 eautoreconf
38 }

  ViewVC Help
Powered by ViewVC 1.1.20