summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Black <dragonheart@gentoo.org>2009-05-10 06:20:27 +0000
committerDaniel Black <dragonheart@gentoo.org>2009-05-10 06:20:27 +0000
commit3d7673241dadc7cd6b39e86901d2b07be983ba52 (patch)
treed06e779e6cff70219c5fc70a8dfd0839508d3968 /sys-power/suspend
parentVersion bump (diff)
downloadgentoo-2-3d7673241dadc7cd6b39e86901d2b07be983ba52.tar.gz
gentoo-2-3d7673241dadc7cd6b39e86901d2b07be983ba52.tar.bz2
gentoo-2-3d7673241dadc7cd6b39e86901d2b07be983ba52.zip
add files directory
Diffstat (limited to 'sys-power/suspend')
-rw-r--r--sys-power/suspend/Manifest14
-rw-r--r--sys-power/suspend/metadata.xml1
-rw-r--r--sys-power/suspend/suspend-0.8-r1.ebuild53
3 files changed, 57 insertions, 11 deletions
diff --git a/sys-power/suspend/Manifest b/sys-power/suspend/Manifest
index b69a719f702b..d3a6680ed0ba 100644
--- a/sys-power/suspend/Manifest
+++ b/sys-power/suspend/Manifest
@@ -1,14 +1,6 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
+AUX suspend-overflow-gentoo.patch 1546 RMD160 998a9d59da92cac7410351c8f672e14e8317dfb6 SHA1 ad10780af2a772be738182f07139d57a8f4487b7 SHA256 7ca6a2c59947978cb55c2f6de115b38bed07b729c8dcfb9c191e1a43102846d9
DIST suspend-0.8.tar.gz 414135 RMD160 cd481fdb5206c824bf8138be0061bf98c0410f76 SHA1 acc9fb8f85d35f3e12c8406be1e958fc67ece01c SHA256 a5ee1dcfeb05e9c2a63583d7518065d42dc83264144359a2456fd8b9c71e63ee
+EBUILD suspend-0.8-r1.ebuild 1223 RMD160 d6fae092175fe814d750807e571c034a0495f291 SHA1 1a6baf0747c26ccd4d09e074a768ac40ba573a08 SHA256 2ba94ac85620626543339c390b23d0684b19e041a4e08c44dca0924b8e2525e6
EBUILD suspend-0.8.ebuild 1070 RMD160 050240368b64bd00e51e63745416692ee8f07b70 SHA1 90efeced9486247e7be4ec5cb82024588ac46e3d SHA256 4b33c335b3e01b440f8583de36fd21604fd2b97ae9db55d28434da87b633a9ba
MISC ChangeLog 1781 RMD160 6df50a51afa1fb54fee62361e04464eb43917df5 SHA1 dd04e348ae96609a60a0bf320f9de8eee3e5b108 SHA256 df0ef646d4a0700f5dddac11abab1d897c90695de8994abe5e929e0e76784653
-MISC metadata.xml 371 RMD160 2b4b5b97452b7d6b14c303cf9f01383cfbdea2f5 SHA1 5782c9c87bc642cfd71c4b5a105e39185c9dca59 SHA256 7766f25303583d0acdcb1de428fb538507d6d0351ea5c1409431360fc1af3a17
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.9 (GNU/Linux)
-
-iEYEARECAAYFAkimU/0ACgkQoeSe8B0zEfwgoACePl6Uu2qIqQgalIvqrQddAgmR
-pOQAn2kI2utP9X2QlszP0Pt3mkE1u4N9
-=z7QS
------END PGP SIGNATURE-----
+MISC metadata.xml 445 RMD160 45206a10878dee79e1a1dcdc10379f2fdb6adcbd SHA1 90d14b7efbc1d1497f9f3763c536e6226742c0b9 SHA256 bba1657ed23a88e94ce762c3bb19ff57b69a1c44061108a840a9441120f52cd2
diff --git a/sys-power/suspend/metadata.xml b/sys-power/suspend/metadata.xml
index 78634d2c6d0d..bb8397f01f5a 100644
--- a/sys-power/suspend/metadata.xml
+++ b/sys-power/suspend/metadata.xml
@@ -8,5 +8,6 @@
</maintainer>
<use>
<flag name='fbsplash'>Add support for framebuffer splash</flag>
+ <flag name='crypt'>Allows suspend and resume from encrypted disk</flag>
</use>
</pkgmetadata>
diff --git a/sys-power/suspend/suspend-0.8-r1.ebuild b/sys-power/suspend/suspend-0.8-r1.ebuild
new file mode 100644
index 000000000000..d415ca3363f7
--- /dev/null
+++ b/sys-power/suspend/suspend-0.8-r1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-power/suspend/suspend-0.8-r1.ebuild,v 1.1 2009/05/10 06:20:27 dragonheart Exp $
+
+EAPI=2
+inherit eutils
+
+DESCRIPTION="Userspace Software Suspend and S2Ram"
+HOMEPAGE="http://suspend.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="fbsplash crypt"
+
+X86_RDEPEND="dev-libs/libx86"
+X86_DEPEND="
+ ${X86_RDEPEND}
+ >=sys-apps/pciutils-2.2.4"
+RDEPEND=">=dev-libs/lzo-2
+ fbsplash? ( >=media-gfx/splashutils-1.5.2 )
+ crypt? ( dev-libs/libgcrypt )
+ x86? ( ${X86_RDEPEND} )
+ amd64? ( ${X86_RDEPEND} )"
+DEPEND="${RDEPEND}
+ x86? ( ${X86_DEPEND} )
+ amd64? ( ${X86_DEPEND} )
+ dev-util/pkgconfig"
+
+
+src_prepare() {
+ epatch "${FILESDIR}"/suspend-overflow-gentoo.patch
+}
+
+src_configure() {
+ econf \
+ --docdir="/usr/share/doc/${PF}" \
+ --enable-compress \
+ $(use_enable crypt encrypt) \
+ $(use_enable fbsplash) \
+ || die
+}
+
+src_install() {
+ emake install DESTDIR="${D}" || die
+ prepalldocs
+}
+
+pkg_postinst() {
+ elog "In order to make this package work with genkernel see:"
+ elog "http://bugs.gentoo.org/show_bug.cgi?id=156445"
+}