summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolić <jsmolic@gentoo.org>2021-11-05 15:54:53 +0100
committerJakov Smolić <jsmolic@gentoo.org>2021-11-05 15:54:53 +0100
commitf39c7c34d753aaa8d37b597a408e46cbf7c3fc50 (patch)
tree002332712dd724cdce4fe3e365875d95a188bc2f /sys-block
parentsys-auth/polkit-pkla-compat: Port to EAPI 8 (diff)
downloadgentoo-f39c7c34d753aaa8d37b597a408e46cbf7c3fc50.tar.gz
gentoo-f39c7c34d753aaa8d37b597a408e46cbf7c3fc50.tar.bz2
gentoo-f39c7c34d753aaa8d37b597a408e46cbf7c3fc50.zip
sys-block/noflushd: Port to EAPI 7
Closes: https://bugs.gentoo.org/819225 Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Diffstat (limited to 'sys-block')
-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