media-sound/cdplay: Port to EAPI 7
authorDavid Seifert <soap@gentoo.org>
Wed, 16 Oct 2019 11:39:36 +0000 (13:39 +0200)
committerDavid Seifert <soap@gentoo.org>
Wed, 16 Oct 2019 11:39:36 +0000 (13:39 +0200)
Bug: https://bugs.gentoo.org/697274
Package-Manager: Portage-2.3.77, Repoman-2.3.17
Signed-off-by: David Seifert <soap@gentoo.org>
media-sound/cdplay/cdplay-1.0.ebuild

index f0763d2b9c7cff8a0f7dfb4202384e0eedd21d23..2f69fdc3dd0305d1c14ccabb070ea359a511c5af 100644 (file)
@@ -1,27 +1,29 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=0
+EAPI=7
 
 inherit toolchain-funcs
 
-DESCRIPTION="a commandline CD Player"
+DESCRIPTION="A commandline CD Player"
 HOMEPAGE="http://www.ta-sa.org/?entry=cdplay"
 SRC_URI="http://www.ta-sa.org/files/${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="alpha amd64 ppc ppc64 sparc x86"
-IUSE=""
 
 DEPEND="!media-sound/cdtool"
 
 src_compile() {
-       emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" \
-               || die "emake failed."
+       emake \
+               CC="$(tc-getCC)" \
+               CFLAGS="${CFLAGS}" \
+               LDFLAGS="${LDFLAGS}"
 }
 
 src_install() {
        dobin cdplay
-       dodoc Changes CREDITS README TODO
+       einstalldocs
+       dodoc Changes
 }