commit:     61ecd32dc818d2368ba2cb95e2a840fd5ac6446b
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 11 20:34:26 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Mar 11 20:47:09 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61ecd32d

media-sound/takcd: Modernise to EAPI 6

Package-Manager: Portage-2.3.4, Repoman-2.3.2

 .../takcd/{takcd-0.10.ebuild => takcd-0.10-r1.ebuild}  | 18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)

diff --git a/media-sound/takcd/takcd-0.10.ebuild 
b/media-sound/takcd/takcd-0.10-r1.ebuild
similarity index 55%
rename from media-sound/takcd/takcd-0.10.ebuild
rename to media-sound/takcd/takcd-0.10-r1.ebuild
index 4318a1b4811..db251f50f96 100644
--- a/media-sound/takcd/takcd-0.10.ebuild
+++ b/media-sound/takcd/takcd-0.10-r1.ebuild
@@ -1,7 +1,9 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-inherit eutils autotools
+EAPI=6
+
+inherit autotools
 
 DESCRIPTION="Command line CD player"
 HOMEPAGE="http://bard.sytes.net/takcd/";
@@ -12,15 +14,15 @@ SLOT="0"
 KEYWORDS="alpha amd64 ~hppa ia64 ~mips ~ppc sparc x86"
 IUSE=""
 
-src_unpack() {
-       unpack ${A}
-       cd "${S}"
-       epatch "${FILESDIR}"/${P}-overflow.patch
+PATCHES=( "${FILESDIR}"/${P}-overflow.patch )
+
+src_prepare() {
+       default
+       mv configure.{in,ac} || die
        eautoreconf
 }
 
 src_install() {
-       emake DESTDIR="${D}" install || die "emake install failed."
+       default
        doman *.1
-       dodoc AUTHORS ChangeLog NEWS README README.takmulti TODO
 }

Reply via email to