/[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.2 - (hide annotations) (download)
Wed Nov 5 13:05:51 2014 UTC (5 years, 4 months ago) by voyageur
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +3 -2 lines
Host tarball on my devspace, bug #527610

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

1 voyageur 1.1 # Copyright 1999-2014 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 voyageur 1.2 # $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmbattery/wmbattery-2.45.ebuild,v 1.1 2014/10/10 13:51:17 voyageur Exp $
4 voyageur 1.1
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 voyageur 1.2 # Grab from http://windowmaker.org/dockapps/?download=${P}.tar.gz
11     SRC_URI="http://dev.gentoo.org/~voyageur/distfiles/${P}.tar.gz"
12 voyageur 1.1
13     LICENSE="GPL-2"
14     SLOT="0"
15     KEYWORDS="~amd64 ~ppc -sparc ~x86"
16     IUSE="upower"
17    
18     RDEPEND="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