All pastes #183316 Raw Edit

s2ram-9999.ebuild

public text v1 · immutable
#183316 ·published 2006-09-26 20:14 UTC
rendered paste body
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header$

inherit eutils cvs

DESCRIPTION="Suspend-to-RAM from Linux Suspend project"
SRC_URI=""
HOMEPAGE="http://sf.net/projects/suspend/"
KEYWORDS="~x86"
SLOT="0"
LICENSE="GPL-2"
IUSE=""

DEPEND="sys-apps/pciutils"

ECVS_MODULE="suspend"
ECVS_SERVER="suspend.cvs.sourceforge.net:/cvsroot/suspend"
ECVS_BRANCH="HEAD"

pkg_setup() {
	## Debug, is it trying to cvs co to the right dir?
	einfo "PKG_SETUP: ECVS_TOP_DIR == $ECVS_TOP_DIR"
}

src_compile() {
	cd ${WORKDIR}/suspend
	emake s2ram || die "compile failed"
}

src_install() {
	dosbin ${WORKDIR}/suspend/s2ram
}