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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Fri Oct 10 13:51:17 2014 UTC (5 years, 5 months ago) by voyageur
Branch: MAIN
Version bump with new homepage

(Portage version: 2.2.14_rc1/cvs/Linux x86_64, signed Manifest commit with key C74525F2)

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.2 2014/07/29 18:11:19 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://windowmaker.org/dockapps/?name=wmbattery"
10 SRC_URI="http://windowmaker.org/dockapps/?download=${P}.tar.gz -> ${P}.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 S=${WORKDIR}/dockapps
26
27 DOCS=( ChangeLog README TODO )
28
29 src_prepare() {
30 sed -i \
31 -e '/^icondir/s:icons:pixmaps:' \
32 autoconf/makeinfo.in || die
33
34 use upower || { sed -i -e 's:USE_UPOWER = 1:#&:' autoconf/makeinfo.in || die; }
35
36 eautoreconf
37 }

  ViewVC Help
Powered by ViewVC 1.1.20