commit:     f39c7c34d753aaa8d37b597a408e46cbf7c3fc50
Author:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Fri Nov  5 14:54:53 2021 +0000
Commit:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Fri Nov  5 14:54:53 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f39c7c34

sys-block/noflushd: Port to EAPI 7

Closes: https://bugs.gentoo.org/819225
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>

 .../noflushd/{noflushd-2.8.ebuild => noflushd-2.8-r1.ebuild} | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/sys-block/noflushd/noflushd-2.8.ebuild 
b/sys-block/noflushd/noflushd-2.8-r1.ebuild
similarity index 77%
rename from sys-block/noflushd/noflushd-2.8.ebuild
rename to sys-block/noflushd/noflushd-2.8-r1.ebuild
index b1c15b456d9..516154148a9 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

Reply via email to