|
Line
Link Here
|
|
|
|
++ apcupsd-3.14.4.ebuild 2008-06-18 10:49:23.000000000 +0200 |
|
Lines 1-6
Link Here
|
| 1 |
# Copyright 1999-2008 Gentoo Foundation |
1 |
# Copyright 1999-2008 Gentoo Foundation |
| 2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
# $Header: /var/cvsroot/gentoo-x86/sys-power/apcupsd/apcupsd-3.14.3.ebuild,v 1.1 2008/05/08 19:37:30 tantive Exp $ |
3 |
# $Header: $ |
| 4 |
WEBAPP_MANUAL_SLOT="yes" |
4 |
WEBAPP_MANUAL_SLOT="yes" |
| 5 |
inherit eutils webapp |
5 |
inherit eutils webapp |
|
Lines 12-23
Link Here
|
| 12 |
LICENSE="GPL-2" |
12 |
LICENSE="GPL-2" |
| 13 |
SLOT="0" |
13 |
SLOT="0" |
| 14 |
KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~x86-fbsd" |
14 |
KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~x86-fbsd" |
| 15 |
IUSE="doc snmp usb cgi ncurses nls gnome" |
15 |
IUSE="doc snmp usb cgi ncurses gnome" |
| 16 |
DEPEND="doc? ( virtual/tetex dev-tex/latex2html ) |
16 |
DEPEND="doc? ( virtual/tetex dev-tex/latex2html ) |
| 17 |
cgi? ( >=media-libs/gd-1.8.4 ) |
17 |
cgi? ( >=media-libs/gd-1.8.4 ) |
| 18 |
ncurses? ( sys-libs/ncurses ) |
18 |
ncurses? ( sys-libs/ncurses ) |
| 19 |
nls? ( sys-devel/gettext ) |
|
|
| 20 |
snmp? ( net-analyzer/net-snmp ) |
19 |
snmp? ( net-analyzer/net-snmp ) |
| 21 |
gnome? ( >=x11-libs/gtk+-2.4.0 |
20 |
gnome? ( >=x11-libs/gtk+-2.4.0 |
| 22 |
>=dev-libs/glib-2.0 |
21 |
>=dev-libs/glib-2.0 |
|
Lines 34-40
Link Here
|
| 34 |
cd "${S}" |
33 |
cd "${S}" |
| 35 |
epatch "${FILESDIR}"/${PV}/apcupsd.in.patch |
34 |
epatch "${FILESDIR}"/${PV}/apcupsd.in.patch |
| 36 |
epatch "${FILESDIR}"/${PV}/etc.patch |
35 |
epatch "${FILESDIR}"/${PV}/etc.patch |
| 37 |
epatch "${FILESDIR}"/${PV}/hal-ups-policy.patch |
|
|
| 38 |
} |
36 |
} |
| 39 |
src_compile() { |
37 |
src_compile() { |
|
Lines 56-64
Link Here
|
| 56 |
--with-log-dir=/var/log \ |
54 |
--with-log-dir=/var/log \ |
| 57 |
--with-nis-port=3551 \ |
55 |
--with-nis-port=3551 \ |
| 58 |
--enable-net \ |
56 |
--enable-net \ |
| 59 |
$(use_enable ncurses powerflute) \ |
57 |
$(use_enable ncurses) \ |
| 60 |
$(use_enable snmp net-snmp) \ |
58 |
$(use_enable snmp net-snmp) \ |
| 61 |
$(use_enable nls) \ |
|
|
| 62 |
$(use_enable gnome gapcmon) \ |
59 |
$(use_enable gnome gapcmon) \ |
| 63 |
${myconf} \ |
60 |
${myconf} \ |
| 64 |
|| die |
61 |
|| die |