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

Diff of /sys-power/pm-utils/pm-utils-1.2.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 Revision 1.4
1# Copyright 1999-2009 Gentoo Foundation 1# Copyright 1999-2009 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/pm-utils/Attic/pm-utils-1.2.4.ebuild,v 1.1 2009/02/15 22:56:59 eva Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sys-power/pm-utils/Attic/pm-utils-1.2.4.ebuild,v 1.4 2009/04/26 19:19:31 ranger Exp $
4
4EAPI="2" 5EAPI="2"
5 6
6inherit eutils 7inherit autotools eutils
7 8
8DESCRIPTION="Suspend and hibernation utilties for HAL" 9DESCRIPTION="Suspend and hibernation utilties for HAL"
9HOMEPAGE="http://pm-utils.freedesktop.org/" 10HOMEPAGE="http://pm-utils.freedesktop.org/"
10SRC_URI="http://pm-utils.freedesktop.org/releases/${P}.tar.gz" 11SRC_URI="http://pm-utils.freedesktop.org/releases/${P}.tar.gz"
11 12
12LICENSE="GPL-2" 13LICENSE="GPL-2"
13SLOT="0" 14SLOT="0"
14KEYWORDS="~amd64 ~ppc ~x86" 15KEYWORDS="amd64 ppc x86"
15IUSE="alsa debug networkmanager ntp video_cards_intel video_cards_radeon" 16IUSE="alsa debug networkmanager ntp video_cards_intel video_cards_radeon"
16 17
17RDEPEND=">=sys-apps/hal-0.5.10 18RDEPEND=">=sys-apps/hal-0.5.10
18 >=sys-apps/dbus-1.0.0 19 >=sys-apps/dbus-1.0.0
19 !sys-power/powermgmt-base 20 !sys-power/powermgmt-base
34 use ntp || ignore="${ignore} 90clock" 35 use ntp || ignore="${ignore} 90clock"
35 36
36 touch "${S}/gentoo" 37 touch "${S}/gentoo"
37 use debug && echo 'PM_DEBUG="true"' >> "${S}/gentoo" 38 use debug && echo 'PM_DEBUG="true"' >> "${S}/gentoo"
38 echo "HOOK_BLACKLIST=\"${ignore}\"" >> "${S}/gentoo" 39 echo "HOOK_BLACKLIST=\"${ignore}\"" >> "${S}/gentoo"
40
41 # Be a bit more future proof, bug #260943
42 sed "s/-Werror//" -i configure.ac || die "sed failed"
43
44 eautoreconf
39} 45}
40 46
41src_install() { 47src_install() {
42 emake DESTDIR="${D}" install || die "emake install failed" 48 emake DESTDIR="${D}" install || die "emake install failed"
43 49

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.20