1 |
commit: f39c7c34d753aaa8d37b597a408e46cbf7c3fc50 |
2 |
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Nov 5 14:54:53 2021 +0000 |
4 |
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Nov 5 14:54:53 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f39c7c34 |
7 |
|
8 |
sys-block/noflushd: Port to EAPI 7 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/819225 |
11 |
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org> |
12 |
|
13 |
.../noflushd/{noflushd-2.8.ebuild => noflushd-2.8-r1.ebuild} | 12 +++++------- |
14 |
1 file changed, 5 insertions(+), 7 deletions(-) |
15 |
|
16 |
diff --git a/sys-block/noflushd/noflushd-2.8.ebuild b/sys-block/noflushd/noflushd-2.8-r1.ebuild |
17 |
similarity index 77% |
18 |
rename from sys-block/noflushd/noflushd-2.8.ebuild |
19 |
rename to sys-block/noflushd/noflushd-2.8-r1.ebuild |
20 |
index b1c15b456d9..516154148a9 100644 |
21 |
--- a/sys-block/noflushd/noflushd-2.8.ebuild |
22 |
+++ b/sys-block/noflushd/noflushd-2.8-r1.ebuild |
23 |
@@ -1,7 +1,7 @@ |
24 |
-# Copyright 1999-2019 Gentoo Authors |
25 |
+# Copyright 1999-2021 Gentoo Authors |
26 |
# Distributed under the terms of the GNU General Public License v2 |
27 |
|
28 |
-EAPI=5 |
29 |
+EAPI=7 |
30 |
|
31 |
DESCRIPTION="A daemon to spin down your disks and force accesses to be cached" |
32 |
HOMEPAGE="http://noflushd.sourceforge.net/" |
33 |
@@ -10,17 +10,15 @@ SRC_URI="mirror://sourceforge/noflushd/${PN}-${PV}.tar.gz" |
34 |
LICENSE="GPL-2" |
35 |
SLOT="0" |
36 |
KEYWORDS="amd64 ppc x86" |
37 |
-IUSE="" |
38 |
|
39 |
src_configure() { |
40 |
econf \ |
41 |
- --with-docdir=/usr/share/doc/${PF} \ |
42 |
- --with-initdir=/etc/init.d |
43 |
+ --with-docdir="${EPREFIX}"/usr/share/doc/${PF} \ |
44 |
+ --with-initdir="${EPREFIX}"/etc/init.d |
45 |
} |
46 |
|
47 |
src_install() { |
48 |
- emake install DESTDIR="${D}" |
49 |
- dodoc NEWS |
50 |
+ default |
51 |
|
52 |
newinitd "${FILESDIR}"/noflushd.rc6 noflushd |
53 |
newconfd "${FILESDIR}"/noflushd.confd noflushd |