# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit pam DESCRIPTION="nodm is an automatic display manager which automatically starts an X session at system boot" HOMEPAGE="http://www.enricozini.org/sw/nodm/" SRC_URI="http://www.enricozini.org/sw/${PN}/${P}.tar.gz" LICENSE="BSD GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND="virtual/pam" RDEPEND="${DEPEND} x11-apps/xinit" src_install() { emake DESTDIR="${D}" install || die "Install failed" dodoc AUTHORS ChangeLog README TODO newinitd "${FILESDIR}/nodm.initd" nodm || die newconfd "${FILESDIR}/nodm.confd" nodm || die pamd_mimic_system nodm auth account password session } pkg_postinst() { elog "If you're using fbsplash to display a splash screen during boot," elog "then you need to have the following set in '/etc/conf.d/splash'." elog elog "SPLASH_XSERVICE=\"nodm\"" elog elog "If you don't, you will most likely end up at tty1 at the end of" elog "the boot process (instead of in an X session)." }