1 |
commit: 763a142d89c5333043c60ccab3516d9a3475b2a1 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jun 29 21:12:32 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jun 29 21:17:03 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=763a142d |
7 |
|
8 |
app-cdr/mkcdtoc: fix installation path, EAPI 8 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/799164 |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
.../{mkcdtoc-1.0.ebuild => mkcdtoc-1.0-r1.ebuild} | 19 ++++++++++++++++--- |
14 |
1 file changed, 16 insertions(+), 3 deletions(-) |
15 |
|
16 |
diff --git a/app-cdr/mkcdtoc/mkcdtoc-1.0.ebuild b/app-cdr/mkcdtoc/mkcdtoc-1.0-r1.ebuild |
17 |
similarity index 58% |
18 |
rename from app-cdr/mkcdtoc/mkcdtoc-1.0.ebuild |
19 |
rename to app-cdr/mkcdtoc/mkcdtoc-1.0-r1.ebuild |
20 |
index c49089a56ca..0f8a1b52bd5 100644 |
21 |
--- a/app-cdr/mkcdtoc/mkcdtoc-1.0.ebuild |
22 |
+++ b/app-cdr/mkcdtoc/mkcdtoc-1.0-r1.ebuild |
23 |
@@ -1,7 +1,7 @@ |
24 |
-# Copyright 1999-2018 Gentoo Foundation |
25 |
+# Copyright 1999-2021 Gentoo Authors |
26 |
# Distributed under the terms of the GNU General Public License v2 |
27 |
|
28 |
-EAPI=7 |
29 |
+EAPI=8 |
30 |
|
31 |
DESCRIPTION="command-line utility to create toc-files for cdrdao" |
32 |
HOMEPAGE="https://sourceforge.net/projects/mkcdtoc/" |
33 |
@@ -10,7 +10,20 @@ SRC_URI="mirror://sourceforge/mkcdtoc/${P}.tar.bz2" |
34 |
LICENSE="GPL-2" |
35 |
SLOT="0" |
36 |
KEYWORDS="~amd64 ~x86" |
37 |
-IUSE="" |
38 |
|
39 |
DEPEND=">=dev-lang/perl-5.8.0" |
40 |
RDEPEND="${DEPEND}" |
41 |
+ |
42 |
+src_compile() { |
43 |
+ # bug #799164 |
44 |
+ emake PREFIX="${EPREFIX}/usr" |
45 |
+} |
46 |
+ |
47 |
+src_install() { |
48 |
+ # bug #799164 |
49 |
+ emake \ |
50 |
+ PREFIX="${EPREFIX}/usr" \ |
51 |
+ DESTDIR="${D}" \ |
52 |
+ MANDIR="/usr/share/man" \ |
53 |
+ install |
54 |
+} |