/[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.2
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.2 2009/03/22 12:34:52 eva 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
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.2

  ViewVC Help
Powered by ViewVC 1.1.20