Gentoo Archives: gentoo-commits

From: "Michael Weber (xmw)" <xmw@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-power/suspend: suspend-1.0.ebuild ChangeLog
Date: Thu, 05 May 2011 21:42:58
Message-Id: 20110505214246.78FB620054@flycatcher.gentoo.org
1 xmw 11/05/05 21:42:46
2
3 Modified: ChangeLog
4 Added: suspend-1.0.ebuild
5 Log:
6 Version bump
7
8 (Portage version: 2.1.9.42/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.19 sys-power/suspend/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/suspend/ChangeLog?rev=1.19&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/suspend/ChangeLog?rev=1.19&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/suspend/ChangeLog?r1=1.18&r2=1.19
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-power/suspend/ChangeLog,v
20 retrieving revision 1.18
21 retrieving revision 1.19
22 diff -u -r1.18 -r1.19
23 --- ChangeLog 14 Feb 2011 22:20:54 -0000 1.18
24 +++ ChangeLog 5 May 2011 21:42:46 -0000 1.19
25 @@ -1,6 +1,11 @@
26 # ChangeLog for sys-power/suspend
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-power/suspend/ChangeLog,v 1.18 2011/02/14 22:20:54 sping Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sys-power/suspend/ChangeLog,v 1.19 2011/05/05 21:42:46 xmw Exp $
30 +
31 +*suspend-1.0 (05 May 2011)
32 +
33 + 05 May 2011; Michael Weber <xmw@g.o> +suspend-1.0.ebuild:
34 + Version bump, thanks to Aleksey Kunitskiy for the hint (bug 365327)
35
36 14 Feb 2011; Sebastian Pipping <sping@g.o> suspend-0.9_pre0.ebuild:
37 For USE=crypt depend on dev-libs/libgcrypt[static-libs] and
38
39
40
41 1.1 sys-power/suspend/suspend-1.0.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/suspend/suspend-1.0.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/suspend/suspend-1.0.ebuild?rev=1.1&content-type=text/plain
45
46 Index: suspend-1.0.ebuild
47 ===================================================================
48 # Copyright 1999-2011 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/sys-power/suspend/suspend-1.0.ebuild,v 1.1 2011/05/05 21:42:46 xmw Exp $
51
52 EAPI=2
53
54 inherit autotools eutils
55
56 DESCRIPTION="Userspace Software Suspend and S2Ram"
57 HOMEPAGE="http://suspend.sourceforge.net/"
58 SRC_URI="mirror://sourceforge/${PN}/${P/-/-utils-}.tar.bz2"
59
60 LICENSE="GPL-2"
61 SLOT="0"
62 KEYWORDS="~amd64 ~x86"
63 IUSE="fbsplash crypt threads"
64
65 X86_RDEPEND="dev-libs/libx86"
66 X86_DEPEND="
67 ${X86_RDEPEND}
68 >=sys-apps/pciutils-2.2.4"
69 RDEPEND=">=dev-libs/lzo-2[static-libs]
70 fbsplash? ( >=media-gfx/splashutils-1.5.2 )
71 crypt? ( dev-libs/libgcrypt[static-libs]
72 dev-libs/libgpg-error[static-libs] )
73 x86? ( ${X86_RDEPEND} )
74 amd64? ( ${X86_RDEPEND} )"
75 DEPEND="${RDEPEND}
76 x86? ( ${X86_DEPEND} )
77 amd64? ( ${X86_DEPEND} )
78 dev-util/pkgconfig"
79
80 S="${WORKDIR}/${P/-/-utils-}"
81
82 src_prepare() {
83 epatch "${FILESDIR}"/${PN}-0.9_pre0-errno.patch
84 sed -i -e "/AC_INIT/s/0\.8/0.9-${MY_GIT_SHORT_COMMIT}/" configure.ac || die
85 eautoreconf
86 }
87
88 src_configure() {
89 econf \
90 --docdir="/usr/share/doc/${PF}" \
91 --enable-compress \
92 $(use_enable crypt encrypt) \
93 $(use_enable fbsplash) \
94 $(use_enable threads) \
95 || die
96 }
97
98 src_install() {
99 emake install DESTDIR="${D}" || die
100 }
101
102 pkg_postinst() {
103 elog "In order to make this package work with genkernel see:"
104 elog "http://bugs.gentoo.org/show_bug.cgi?id=156445"
105 }