summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Bauman <bman@gentoo.org>2018-05-29 11:28:03 -0400
committerAaron Bauman <bman@gentoo.org>2018-05-29 16:10:13 -0400
commit3dac42213022d7fffa2a441d50400581fc3459a5 (patch)
treeeddf1aa1516e22d828cfc1320acb7581f182f92d /media-gfx/jpegtoavi
parentmedia-gfx/jpegpixi: bump EAPI and bashify dobin doman calls (diff)
downloadgentoo-3dac42213022d7fffa2a441d50400581fc3459a5.tar.gz
gentoo-3dac42213022d7fffa2a441d50400581fc3459a5.tar.bz2
gentoo-3dac42213022d7fffa2a441d50400581fc3459a5.zip
media-gfx/jpegtoavi: bump EAPI and drop eutils
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'media-gfx/jpegtoavi')
-rw-r--r--media-gfx/jpegtoavi/files/jpegtoavi-1.5-Makefile.patch4
-rw-r--r--media-gfx/jpegtoavi/jpegtoavi-1.5.ebuild14
2 files changed, 8 insertions, 10 deletions
diff --git a/media-gfx/jpegtoavi/files/jpegtoavi-1.5-Makefile.patch b/media-gfx/jpegtoavi/files/jpegtoavi-1.5-Makefile.patch
index 9f562f293b31..3f7d60695389 100644
--- a/media-gfx/jpegtoavi/files/jpegtoavi-1.5-Makefile.patch
+++ b/media-gfx/jpegtoavi/files/jpegtoavi-1.5-Makefile.patch
@@ -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
diff --git a/media-gfx/jpegtoavi/jpegtoavi-1.5.ebuild b/media-gfx/jpegtoavi/jpegtoavi-1.5.ebuild
index eb054f06923d..a11929389db1 100644
--- a/media-gfx/jpegtoavi/jpegtoavi-1.5.ebuild
+++ b/media-gfx/jpegtoavi/jpegtoavi-1.5.ebuild
@@ -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
}