diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2010-07-08 02:54:32 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2010-07-08 02:54:32 +0000 |
commit | f27f267eb7b9a595abaee2e96c380b417a30aa6a (patch) | |
tree | 54e3b925e90d4e898d71c03372aafbb3eafadc5e /sys-power | |
parent | Fix imagemagick vs. graphicsmagick depend wrt #314423 by Wojciech Porczyk. (diff) | |
download | gentoo-2-f27f267eb7b9a595abaee2e96c380b417a30aa6a.tar.gz gentoo-2-f27f267eb7b9a595abaee2e96c380b417a30aa6a.tar.bz2 gentoo-2-f27f267eb7b9a595abaee2e96c380b417a30aa6a.zip |
Version bump.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'sys-power')
-rw-r--r-- | sys-power/pm-utils/ChangeLog | 8 | ||||
-rw-r--r-- | sys-power/pm-utils/pm-utils-1.4.1.ebuild | 54 |
2 files changed, 61 insertions, 1 deletions
diff --git a/sys-power/pm-utils/ChangeLog b/sys-power/pm-utils/ChangeLog index 65c8fa5f7fe1..1160fbb59d22 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-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-power/pm-utils/ChangeLog,v 1.47 2010/07/08 01:40:16 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-power/pm-utils/ChangeLog,v 1.48 2010/07/08 02:54:32 ssuominen Exp $ + +*pm-utils-1.4.1 (08 Jul 2010) + + 08 Jul 2010; Samuli Suominen <ssuominen@gentoo.org> + +pm-utils-1.4.1.ebuild: + Version bump. 08 Jul 2010; Samuli Suominen <ssuominen@gentoo.org> pm-utils-1.4.0.ebuild: Block app-laptop/laptop-mode-tools wrt upstream ChangeLog; "Update git diff --git a/sys-power/pm-utils/pm-utils-1.4.1.ebuild b/sys-power/pm-utils/pm-utils-1.4.1.ebuild new file mode 100644 index 000000000000..bb7f12e53c9a --- /dev/null +++ b/sys-power/pm-utils/pm-utils-1.4.1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2010 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.4.1.ebuild,v 1.1 2010/07/08 02:54:32 ssuominen Exp $ + +EAPI=2 +inherit autotools multilib + +DESCRIPTION="Suspend and hibernation utilities" +HOMEPAGE="http://pm-utils.freedesktop.org/" +SRC_URI="http://pm-utils.freedesktop.org/releases/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" +IUSE="alsa debug networkmanager ntp video_cards_intel video_cards_radeon" + +vbetool="!video_cards_intel? ( sys-apps/vbetool )" +DEPEND="!app-laptop/laptop-mode-tools + !sys-power/powermgmt-base" +RDEPEND="${DEPEND} + sys-apps/dbus + >=sys-apps/util-linux-2.13 + sys-power/pm-quirks + alsa? ( media-sound/alsa-utils ) + networkmanager? ( net-misc/networkmanager ) + ntp? ( || ( net-misc/ntp net-misc/openntpd ) ) + amd64? ( ${vbetool} ) + x86? ( ${vbetool} ) + video_cards_radeon? ( app-laptop/radeontool )" + +src_prepare() { + local ignore="01grub" + use networkmanager || ignore+=" 55NetworkManager" + use ntp || ignore+=" 90clock" + + use debug && echo 'PM_DEBUG="true"' > "${T}"/gentoo + echo "HOOK_BLACKLIST=\"${ignore}\"" >> "${T}"/gentoo +} + +src_configure() { + econf \ + --docdir=/usr/share/doc/${PF} \ + --disable-dependency-tracking \ + --disable-doc +} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc AUTHORS ChangeLog NEWS pm/HOWTO* README* TODO || die + doman man/*.{1,8} || die + + insinto /etc/pm/config.d + doins "${T}"/gentoo || die +} |