summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/noflushd/noflushd-2.4-r6.ebuild')
-rw-r--r--sys-apps/noflushd/noflushd-2.4-r6.ebuild15
1 files changed, 9 insertions, 6 deletions
diff --git a/sys-apps/noflushd/noflushd-2.4-r6.ebuild b/sys-apps/noflushd/noflushd-2.4-r6.ebuild
index a60bb71ec3d8..bfc0fc92e302 100644
--- a/sys-apps/noflushd/noflushd-2.4-r6.ebuild
+++ b/sys-apps/noflushd/noflushd-2.4-r6.ebuild
@@ -1,13 +1,12 @@
# Copyright 1999-2001 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author: Dan Armak <danarmak@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/noflushd/noflushd-2.4-r6.ebuild,v 1.1 2001/10/18 20:09:25 woodchip Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/noflushd/noflushd-2.4-r6.ebuild,v 1.2 2001/12/23 23:25:19 azarah Exp $
# Note: the daemon's current 2.4 version has nothing to do with kernel versions
-A=noflushd_2.4.orig.tar.gz
+MY_P=${P/-/_}.orig
S=${WORKDIR}/${P}.orig
-SRC_URI="http://download.sourceforge.net/noflushd/${A}"
-
+SRC_URI="http://download.sourceforge.net/noflushd/${MY_P}.orig.tar.gz"
HOMEPAGE="http://noflushd.sourceforge.net"
DESCRIPTION="A daemon to spin down your disks and force accesses to be cached"
@@ -16,8 +15,11 @@ DEPEND="virtual/glibc
src_compile() {
- ./configure --prefix=/usr --host=${CHOST} --mandir=/usr/share/man \
- --infodir=/usr/share/info --with-docdir=/usr/share/doc/${PF} || die
+ ./configure --prefix=/usr \
+ --host=${CHOST} \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --with-docdir=/usr/share/doc/${PF} || die
emake || die
}
@@ -29,6 +31,7 @@ src_install () {
dodoc README NEWS
exeinto /etc/init.d ; newexe ${FILESDIR}/noflushd.rc6 noflushd
+ insinto /etc/conf.d ; newins ${FILESDIR}/noflushd.confd noflushd
}
pkg_postinst() {