# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-gfx/splashutils/splashutils-1.1.9.1.ebuild,v 1.2 2005/03/08 23:42:48 spock Exp $ inherit eutils DESCRIPTION="UserUI splash utility for software suspend2" HOMEPAGE="http://www.suspend2.net" SRC_URI="http://www.suspend2.net/downloads/all/userui-${PV}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" RDEPEND=">=media-gfx/splashutils-1.1.9.1 !media-gfx/bootsplash" USE_DESTDIR="1" S="${WORKDIR}/${P/_/-}" src_compile() { cd ${S} emake || die "failed to make project" } src_install() { cd ${S} insinto /usr/sbin doins ${S}/userui_fbsplash doins ${S}/userui_text } pkg_postinst() { ewarn "This utility is to be used with fbsplash. See also: ewarn "http://dev.gentoo.org/~spock/projects/gensplash" ewarn "Make sure you kernel has been patch with fbsplash, ewarn "as well as vesafb-tng" echo "" einfo "After having patched your kernel append to following to" einfo "hibernate.conf:" echo "" einfo "ProcSetting disable_textmode_support 1" einfo "ProcSetting userui_program /usr/sbin/userui_fbsplash" echo "" einfo "Change to your /etc/splash" einfo "Create a symlink from /etc/splash/spsned2 to your" einfo "favorite splash by doing for example:" einfo "ln -sf emergence /etc/splash/suspend2" echo "" einfo "Further information is available under:" einfo "http://wiki.suspend2.net/UserUIHowto" }