# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit autotools DESCRIPTION="Userspace Software Suspend and S2Ram" HOMEPAGE="http://suspend.sourceforge.net/" SRC_URI="mirror://sourceforge/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 ~amd64 ~ppc" IUSE="" #IUSE="fbsplash" X86_RDEPEND="dev-libs/libx86" X86_DEPEND=" ${X86_RDEPEND} >=sys-apps/pciutils-2.2.4" # fbsplash? ( >=media-gfx/splashutils-1.5 ) RDEPEND=">=dev-libs/lzo-2 x86? ( ${X86_RDEPEND} ) amd64? ( ${X86_RDEPEND} )" DEPEND="${DEPEND} x86? ( ${X86_DEPEND} ) amd64? ( ${X86_DEPEND} ) dev-util/pkgconfig" src_unpack() { unpack ${A} cd "${S}" epatch "${FILESDIR}/${P}-autoconf.patch" eautoreconf } src_compile() { econf \ --docdir="/usr/share/doc/${PF}" \ --enable-compress \ || die # $(use_enable fbsplash) \ emake || die } src_install() { emake install DESTDIR="${D}" || die }