# Copyright 1999-2001 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author: Dan Armak # /space/gentoo/cvsroot/gentoo-x86/sys-apps/noflushd/noflushd-2.4-r6.ebuild,v 1.3 2001/12/27 22:16:17 azarah Exp S=${WORKDIR}/${P} SRC_URI="http://unc.dl.sourceforge.net/sourceforge/noflushd/${P}.tar.gz" HOMEPAGE="http://noflushd.sourceforge.net" DESCRIPTION="A daemon to spin down your disks and force accesses to be cached" DEPEND="virtual/glibc sys-devel/ld.so" src_compile() { ./configure --prefix=/usr \ --host=${CHOST} \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --with-docdir=/usr/share/doc/${PF} || die emake || die } src_install () { dosbin src/noflushd doman man/noflushd.8 dodoc README NEWS exeinto /etc/init.d ; newexe ${FILESDIR}/noflushd.rc6 noflushd insinto /etc/conf.d ; newins ${FILESDIR}/noflushd.confd noflushd } pkg_postinst() { einfo 'Run "rc-update add noflushd default" to add it to' einfo "the default runlevel." ewarn "Do NOT use with SCSI, unstable!" ewarn "Has possible problems with reiserfs, too." }