From c74d15941d21ebde08a06fca33119a5ba85db6c0 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Sat, 9 Nov 2019 20:16:17 +0100 Subject: media-video/pgmfindclip: Bump to EAPI 7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug: https://bugs.gentoo.org/697264 Signed-off-by: Michał Górny --- media-video/pgmfindclip/pgmfindclip-1.13.ebuild | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) (limited to 'media-video') diff --git a/media-video/pgmfindclip/pgmfindclip-1.13.ebuild b/media-video/pgmfindclip/pgmfindclip-1.13.ebuild index bb9f6025871d..1024f842f370 100644 --- a/media-video/pgmfindclip/pgmfindclip-1.13.ebuild +++ b/media-video/pgmfindclip/pgmfindclip-1.13.ebuild @@ -1,14 +1,10 @@ -# 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 -IUSE="" - -S="${WORKDIR}" - DESCRIPTION="automatically find a clipping border for a sequence of pgm images" HOMEPAGE="http://www.lallafa.de/bp/pgmfindclip.html" SRC_URI="http://www.lallafa.de/bp/files/${P}.tgz" @@ -16,17 +12,19 @@ SRC_URI="http://www.lallafa.de/bp/files/${P}.tgz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" -src_unpack() { - unpack ${A} +S="${WORKDIR}" - sed -i -e 's:gcc .* -o:$(CC) $(CFLAGS) $(LDFLAGS) -o:' "${S}"/Makefile +src_prepare() { + default + sed -i -e 's:gcc .* -o:$(CC) $(CFLAGS) $(LDFLAGS) -o:' Makefile || die } -src_compile () { - emake CC="$(tc-getCC)" || die +src_compile() { + emake CC="$(tc-getCC)" } -src_install () { - dobin ${PN} || die +src_install() { + dobin ${PN} } -- cgit v1.2.3-65-gdbad