/[gentoo-x86]/sys-power/pm-utils/pm-utils-1.2.3.ebuild
Gentoo

Contents of /sys-power/pm-utils/pm-utils-1.2.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sun Jan 24 21:49:56 2010 UTC (10 years ago) by eva
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Version bump, bug #295867. Clean up old revisions.
(Portage version: 2.2_rc61/cvs/Linux x86_64)

1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-power/pm-utils/pm-utils-1.2.3.ebuild,v 1.3 2009/01/09 19:47:54 josejx Exp $
4
5 DESCRIPTION="Suspend and hibernation utilties for HAL"
6 HOMEPAGE="http://pm-utils.freedesktop.org/"
7 SRC_URI="http://pm-utils.freedesktop.org/releases/${P}.tar.gz"
8
9 LICENSE="GPL-2"
10 SLOT="0"
11 KEYWORDS="~amd64 ~ppc ~x86"
12 IUSE="alsa debug networkmanager ntp video_cards_intel video_cards_radeon"
13
14 RDEPEND=">=sys-apps/hal-0.5.10
15 >=sys-apps/dbus-1.0.0
16 !sys-power/powermgmt-base
17 >=sys-apps/util-linux-2.13
18 alsa? ( media-sound/alsa-utils )
19 networkmanager? ( net-misc/networkmanager )
20 ntp? ( net-misc/ntp )
21 !ppc? (
22 !video_cards_intel? ( sys-apps/vbetool )
23 video_cards_radeon? ( app-laptop/radeontool )
24 )"
25 DEPEND="!sys-power/powermgmt-base
26 app-text/xmlto"
27
28 src_unpack() {
29 local ignore="01grub"
30
31 unpack ${A}
32 cd "${S}"
33
34 touch "${S}/gentoo"
35
36 use debug && echo 'PM_DEBUG="true"' > "${S}/gentoo"
37
38 use networkmanager || ignore="${ignore} 10NetworkManager"
39 use ntp || ignore="${ignore} 90clock"
40
41 echo "HOOK_BLACKLIST=\"${ignore}\"" > "${S}/gentoo"
42 }
43
44 src_compile() {
45 econf || die "econf failed"
46 emake || die "emake failed"
47 }
48
49 src_install() {
50 emake DESTDIR="${D}" install || die "emake install failed"
51
52 insinto /etc/pm/config.d/
53 doins "${S}/gentoo"
54 }

  ViewVC Help
Powered by ViewVC 1.1.20