app-emulation/coldfire: bump EAPI and drop eutils
authorAaron Bauman <bman@gentoo.org>
Tue, 29 May 2018 14:02:17 +0000 (10:02 -0400)
committerAaron Bauman <bman@gentoo.org>
Tue, 29 May 2018 20:10:05 +0000 (16:10 -0400)
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Closes: https://github.com/gentoo/gentoo/pull/8640

app-emulation/coldfire/coldfire-0.3.1.ebuild

index ac3e77cd5aa0aa4808b3adb071329b84486f35a7..91abcd06d005e15e23a30cf78af3fc0b0387567c 100644 (file)
@@ -1,9 +1,7 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="2"
-
-inherit eutils
+EAPI=7
 
 DESCRIPTION="Motorola Coldfire Emulator"
 HOMEPAGE="http://www.slicer.ca/coldfire/"
@@ -17,13 +15,12 @@ IUSE=""
 DEPEND="sys-libs/ncurses
        sys-libs/readline"
 
-src_prepare() {
-       epatch "${FILESDIR}"/${P}-build.patch
-       epatch "${FILESDIR}"/${P}-headers.patch
-}
+PATCHES=(
+       "${FILESDIR}/${P}-build.patch"
+       "${FILESDIR}/${P}-headers.patch"
+)
 
 src_install() {
-       dodir /usr/bin
-       einstall || die
+       dobin coldfire
        dodoc CONTRIBUTORS HACKING README
 }