commit:     763a142d89c5333043c60ccab3516d9a3475b2a1
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 29 21:12:32 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jun 29 21:17:03 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=763a142d

app-cdr/mkcdtoc: fix installation path, EAPI 8

Closes: https://bugs.gentoo.org/799164
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../{mkcdtoc-1.0.ebuild => mkcdtoc-1.0-r1.ebuild}     | 19 ++++++++++++++++---
 1 file changed, 16 insertions(+), 3 deletions(-)

diff --git a/app-cdr/mkcdtoc/mkcdtoc-1.0.ebuild 
b/app-cdr/mkcdtoc/mkcdtoc-1.0-r1.ebuild
similarity index 58%
rename from app-cdr/mkcdtoc/mkcdtoc-1.0.ebuild
rename to app-cdr/mkcdtoc/mkcdtoc-1.0-r1.ebuild
index c49089a56ca..0f8a1b52bd5 100644
--- a/app-cdr/mkcdtoc/mkcdtoc-1.0.ebuild
+++ b/app-cdr/mkcdtoc/mkcdtoc-1.0-r1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 DESCRIPTION="command-line utility to create toc-files for cdrdao"
 HOMEPAGE="https://sourceforge.net/projects/mkcdtoc/";
@@ -10,7 +10,20 @@ SRC_URI="mirror://sourceforge/mkcdtoc/${P}.tar.bz2"
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE=""
 
 DEPEND=">=dev-lang/perl-5.8.0"
 RDEPEND="${DEPEND}"
+
+src_compile() {
+       # bug #799164
+       emake PREFIX="${EPREFIX}/usr"
+}
+
+src_install() {
+       # bug #799164
+       emake \
+               PREFIX="${EPREFIX}/usr" \
+               DESTDIR="${D}" \
+               MANDIR="/usr/share/man" \
+               install
+}

Reply via email to