summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-block/noflushd')
-rw-r--r--sys-block/noflushd/noflushd-2.8-r1.ebuild (renamed from sys-block/noflushd/noflushd-2.8.ebuild)12
1 files changed, 5 insertions, 7 deletions
diff --git a/sys-block/noflushd/noflushd-2.8.ebuild b/sys-block/noflushd/noflushd-2.8-r1.ebuild
index b1c15b456d91..516154148a9a 100644
--- a/sys-block/noflushd/noflushd-2.8.ebuild
+++ b/sys-block/noflushd/noflushd-2.8-r1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=7
DESCRIPTION="A daemon to spin down your disks and force accesses to be cached"
HOMEPAGE="http://noflushd.sourceforge.net/"
@@ -10,17 +10,15 @@ SRC_URI="mirror://sourceforge/noflushd/${PN}-${PV}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc x86"
-IUSE=""
src_configure() {
econf \
- --with-docdir=/usr/share/doc/${PF} \
- --with-initdir=/etc/init.d
+ --with-docdir="${EPREFIX}"/usr/share/doc/${PF} \
+ --with-initdir="${EPREFIX}"/etc/init.d
}
src_install() {
- emake install DESTDIR="${D}"
- dodoc NEWS
+ default
newinitd "${FILESDIR}"/noflushd.rc6 noflushd
newconfd "${FILESDIR}"/noflushd.confd noflushd