media-gfx/jpegtoavi: bump EAPI and drop eutils
authorAaron Bauman <bman@gentoo.org>
Tue, 29 May 2018 15:28:03 +0000 (11:28 -0400)
committerAaron Bauman <bman@gentoo.org>
Tue, 29 May 2018 20:10:13 +0000 (16:10 -0400)
Package-Manager: Portage-2.3.40, Repoman-2.3.9

media-gfx/jpegtoavi/files/jpegtoavi-1.5-Makefile.patch
media-gfx/jpegtoavi/jpegtoavi-1.5.ebuild

index 9f562f293b314b1af0a816586d0691cc7266df0c..3f7d60695389256410de56f738aa0d9027d9eb93 100644 (file)
@@ -1,5 +1,5 @@
---- Makefile.orig      2010-03-02 23:06:07.000000000 +0200
-+++ Makefile   2010-03-02 23:11:59.000000000 +0200
+--- a/Makefile 2010-03-02 23:06:07.000000000 +0200
++++ b/Makefile 2010-03-02 23:11:59.000000000 +0200
 @@ -1,4 +1,4 @@
 -CC=gcc
 +CC ?= gcc
index eb054f06923d20a76e01395b1ec09356c260b81a..a11929389db1657d8c82d1afb4c9a953788c439a 100644 (file)
@@ -1,8 +1,8 @@
-# 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 toolchain-funcs
+EAPI=6
+inherit toolchain-funcs
 
 DESCRIPTION="JPEG to AVI/MJPEG animation command-line conversion tool"
 HOMEPAGE="https://sourceforge.net/projects/jpegtoavi/"
@@ -13,17 +13,15 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE=""
 
-src_prepare() {
-       epatch "${FILESDIR}"/${P}-Makefile.patch
-}
+PATCHES=( "${FILESDIR}/${P}-Makefile.patch" )
 
 src_compile() {
        tc-export CC
-       emake || die
+       default
 }
 
 src_install() {
-       dobin ${PN} || die
+       dobin ${PN}
        doman ${PN}.1
        dodoc CHANGELOG README
 }