blob: 5f65d3d47eff349787785b9a26183c75150b58c1 (
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-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
BASE=apcupsd-3.14.8
DESCRIPTION="Linux GUI monitor for APCUPSD"
HOMEPAGE="http://gapcmon.sourceforge.net/"
SRC_URI="mirror://sourceforge/apcupsd/$BASE.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND=">=x11-libs/gtk+-2.6
>=dev-libs/glib-2.8
>=gnome-base/gconf-2.10
!sys-power/apcupsd[gnome]"
S="$WORKDIR/$BASE"
src_configure() {
econf --enable-gapcmon
}
src_compile() {
S="$WORKDIR/$BASE/src/gapcmon"
emake
}
src_install() {
S="$WORKDIR/$BASE/src/gapcmon"
emake DESTDIR="${D}" install-gapcmon
dodoc ChangeLog README
}
|