diff options
author | Saleem Abdulrasool <compnerd@gentoo.org> | 2008-05-20 04:43:20 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@gentoo.org> | 2008-05-20 04:43:20 +0000 |
commit | bc29a848b04308f0bf54dda2d7b4db113b488f29 (patch) | |
tree | 915820fc1123d91e3b253ad9dd14d572517751cd /sys-power | |
parent | add ntp useflag for pm-utils (diff) | |
download | gentoo-2-bc29a848b04308f0bf54dda2d7b4db113b488f29.tar.gz gentoo-2-bc29a848b04308f0bf54dda2d7b4db113b488f29.tar.bz2 gentoo-2-bc29a848b04308f0bf54dda2d7b4db113b488f29.zip |
version bump from upstream
(Portage version: 2.1.5)
Diffstat (limited to 'sys-power')
-rw-r--r-- | sys-power/pm-utils/ChangeLog | 10 | ||||
-rw-r--r-- | sys-power/pm-utils/pm-utils-1.1.1.ebuild | 54 |
2 files changed, 62 insertions, 2 deletions
diff --git a/sys-power/pm-utils/ChangeLog b/sys-power/pm-utils/ChangeLog index 0c4aa43ef549..cdf25cdc889c 100644 --- a/sys-power/pm-utils/ChangeLog +++ b/sys-power/pm-utils/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-power/pm-utils -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-power/pm-utils/ChangeLog,v 1.2 2007/11/23 09:10:40 compnerd Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-power/pm-utils/ChangeLog,v 1.3 2008/05/20 04:43:20 compnerd Exp $ + +*pm-utils-1.1.1 (20 May 2008) + + 20 May 2008; Saleem Abdulrasool <compnerd@gentoo.org> + +pm-utils-1.1.1.ebuild: + Version bump from upstream 23 Nov 2007; Saleem Abdulrasool <compnerd@gentoo.org> pm-utils-0.99.4.ebuild: diff --git a/sys-power/pm-utils/pm-utils-1.1.1.ebuild b/sys-power/pm-utils/pm-utils-1.1.1.ebuild new file mode 100644 index 000000000000..638e48d837da --- /dev/null +++ b/sys-power/pm-utils/pm-utils-1.1.1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-power/pm-utils/pm-utils-1.1.1.ebuild,v 1.1 2008/05/20 04:43:20 compnerd Exp $ + +inherit autotools eutils + +DESCRIPTION="Suspend and hibernation utilties for HAL" +HOMEPAGE="http://pm-utils.freedesktop.org/" +SRC_URI="http://pm-utils.freedesktop.org/releases/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="alsa debug networkmanager ntp video_cards_i810 video_cards_radeon" + +RDEPEND=">=sys-apps/hal-0.5.10 + >=sys-apps/dbus-1.0.0 + !sys-power/powermgmt-base + >=sys-apps/util-linux-2.13 + alsa? ( media-sound/alsa-utils ) + networkmanager? ( net-misc/networkmanager ) + ntp? ( net-misc/ntp ) + !video_cards_i810? ( sys-apps/vbetool ) + video_cards_radeon? ( app-laptop/radeontool )" +DEPEND="!sys-power/powermgmt-base" + +src_unpack() { + local ignore="01grub" + + unpack ${A} + cd "${S}" + + touch "${S}/gentoo" + + use debug && echo 'PM_DEBUG="true"' > "${S}/gentoo" + + use alsa || ignore="${ignore} 60alsa" + use networkmanager || ignore="${ignore} 10NetworkManager" + use ntp || ignore="${ignore} 90clock" + + echo "HOOK_BLACKLIST=\"${ignore}\"" > "${S}/gentoo" +} + +src_compile() { + econf || die "econf failed" + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + + insinto /etc/pm/config.d/ + doins "${S}/gentoo" +} |