# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-sound/easytag/easytag-1.99.12.ebuild,v 1.3 2006/10/28 00:59:45 flameeyes Exp $ inherit toolchain-funcs 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" IUSE="" DEPEND="sys-apps/pciutils" src_unpack() { unpack ${A} cd ${S} # Generic Makefile fixes, sent upstream epatch ${FILESDIR}/${P}-build.patch } src_compile() { emake CC=$(tc-getCC) CC_FLAGS= LD_FLAGS= || die } src_install() { emake install SUSPEND_DIR=/usr/sbin DESTDIR=${D} || die dodoc ChangeLog HOWTO README README.s2ram-whitelist ReleaseNotes TODO }