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

Contents of /sys-power/suspend/suspend-1.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Tue May 22 13:26:18 2012 UTC (3 years ago) by xmw
Branch: MAIN
Changes since 1.3: +7 -5 lines
Fix freetype[bzip2] link problem (bug 416955, thanks tokiclover)

(Portage version: 2.1.10.62/cvs/Linux x86_64)

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-1.0.ebuild,v 1.3 2012/05/04 07:36:59 jdhore Exp $
4
5 EAPI=4
6
7 inherit autotools eutils
8
9 DESCRIPTION="Userspace Software Suspend and S2Ram"
10 HOMEPAGE="http://suspend.sourceforge.net/"
11 SRC_URI="mirror://sourceforge/${PN}/${P/-/-utils-}.tar.bz2"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="~amd64 ~x86"
16 IUSE="fbsplash crypt threads"
17
18 X86_RDEPEND="dev-libs/libx86"
19 X86_DEPEND="
20 ${X86_RDEPEND}
21 >=sys-apps/pciutils-2.2.4"
22 RDEPEND=">=dev-libs/lzo-2[static-libs]
23 fbsplash? ( >=media-gfx/splashutils-1.5.2 )
24 crypt? ( dev-libs/libgcrypt[static-libs]
25 dev-libs/libgpg-error[static-libs] )
26 x86? ( ${X86_RDEPEND} )
27 amd64? ( ${X86_RDEPEND} )"
28 DEPEND="${RDEPEND}
29 x86? ( ${X86_DEPEND} )
30 amd64? ( ${X86_DEPEND} )
31 virtual/pkgconfig"
32
33 S="${WORKDIR}/${P/-/-utils-}"
34
35 src_prepare() {
36 epatch "${FILESDIR}"/${P}-errno.patch
37 epatch "${FILESDIR}"/${P}-bzip2.patch
38 eautoreconf
39 }
40
41 src_configure() {
42 econf \
43 --docdir="/usr/share/doc/${PF}" \
44 --enable-compress \
45 $(use_enable crypt encrypt) \
46 $(use_enable fbsplash) \
47 $(use_enable threads)
48 }
49
50 src_install() {
51 dodir etc
52 emake DESTDIR="${D}" install
53 }
54
55 pkg_postinst() {
56 elog "In order to make this package work with genkernel see:"
57 elog "http://bugs.gentoo.org/show_bug.cgi?id=156445"
58 }

  ViewVC Help
Powered by ViewVC 1.1.20