summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-emulation/coldfire/coldfire-0.3.1.ebuild17
1 files changed, 7 insertions, 10 deletions
diff --git a/app-emulation/coldfire/coldfire-0.3.1.ebuild b/app-emulation/coldfire/coldfire-0.3.1.ebuild
index ac3e77cd5aa0..91abcd06d005 100644
--- a/app-emulation/coldfire/coldfire-0.3.1.ebuild
+++ b/app-emulation/coldfire/coldfire-0.3.1.ebuild
@@ -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
}