# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sys-power/hibernate-script/hibernate-script-1.99-r1.ebuild,v 1.1 2009/01/14 19:34:21 nelchael Exp $ inherit eutils PATCH_VERSION="1" DESCRIPTION="Hibernate script supporting multiple suspend methods" HOMEPAGE="http://www.tuxonice.net/" SRC_URI="http://www.tuxonice.net/downloads/all/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc ~x86" IUSE="vim-syntax" DEPEND="" RDEPEND="!> "${D}/etc/hibernate/blacklisted-modules" echo "sdhci_pci" >> "${D}/etc/hibernate/blacklisted-modules" echo "sdhci" >> "${D}/etc/hibernate/blacklisted-modules" } pkg_postinst() { elog elog "You should run the following command to invalidate suspend" elog "images on a clean boot." elog elog " # rc-update add hibernate-cleanup boot" elog elog "See /usr/share/doc/${PF}/README.* for further details." elog elog "Please note that you will need to manually emerge any utilities" elog "(radeontool, vbetool, ...) enabled in the configuration files," elog "should you wish to use them." }