/[gentoo-x86]/sys-power/suspend/suspend-0.8-r1.ebuild
Gentoo

Contents of /sys-power/suspend/suspend-0.8-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Fri May 4 07:37:00 2012 UTC (2 years, 4 months ago) by jdhore
Branch: MAIN
Changes since 1.6: +3 -3 lines
dev-util/pkgconfig -> virtual/pkgconfig

(Portage version: 2.2.0_alpha101/cvs/Linux i686)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-power/suspend/suspend-0.8-r1.ebuild,v 1.6 2011/05/15 20:49:06 xmw Exp $
4
5 EAPI=2
6 inherit eutils
7
8 DESCRIPTION="Userspace Software Suspend and S2Ram"
9 HOMEPAGE="http://suspend.sourceforge.net/"
10 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="amd64 x86"
15 IUSE="fbsplash crypt"
16
17 X86_RDEPEND="dev-libs/libx86"
18 X86_DEPEND="
19 ${X86_RDEPEND}
20 >=sys-apps/pciutils-2.2.4"
21 RDEPEND=">=dev-libs/lzo-2[static-libs]
22 fbsplash? ( >=media-gfx/splashutils-1.5.2 )
23 crypt? ( dev-libs/libgcrypt[static-libs]
24 dev-libs/libgpg-error[static-libs] )
25 x86? ( ${X86_RDEPEND} )
26 amd64? ( ${X86_RDEPEND} )"
27 DEPEND="${RDEPEND}
28 x86? ( ${X86_DEPEND} )
29 amd64? ( ${X86_DEPEND} )
30 virtual/pkgconfig"
31
32 src_prepare() {
33 epatch "${FILESDIR}"/suspend-overflow-gentoo.patch
34 }
35
36 src_configure() {
37 econf \
38 --docdir="/usr/share/doc/${PF}" \
39 --enable-compress \
40 $(use_enable crypt encrypt) \
41 $(use_enable fbsplash) \
42 || die
43 }
44
45 src_install() {
46 emake install DESTDIR="${D}" || die
47 prepalldocs
48 }
49
50 pkg_postinst() {
51 elog "In order to make this package work with genkernel see:"
52 elog "http://bugs.gentoo.org/show_bug.cgi?id=156445"
53 }

  ViewVC Help
Powered by ViewVC 1.1.20