From 9b238ac2bcef23787e296f58bd993cd7a08ca7dc Mon Sep 17 00:00:00 2001 From: David Seifert Date: Sat, 2 Jul 2022 22:06:58 +0200 Subject: app-arch/pure-sfv: update EAPI 6 -> 8 Signed-off-by: David Seifert --- .../files/pure-sfv-0.3-fix-build-system.patch | 3 ++- app-arch/pure-sfv/pure-sfv-0.3-r1.ebuild | 29 ---------------------- app-arch/pure-sfv/pure-sfv-0.3-r2.ebuild | 27 ++++++++++++++++++++ 3 files changed, 29 insertions(+), 30 deletions(-) delete mode 100644 app-arch/pure-sfv/pure-sfv-0.3-r1.ebuild create mode 100644 app-arch/pure-sfv/pure-sfv-0.3-r2.ebuild (limited to 'app-arch/pure-sfv') diff --git a/app-arch/pure-sfv/files/pure-sfv-0.3-fix-build-system.patch b/app-arch/pure-sfv/files/pure-sfv-0.3-fix-build-system.patch index ca2143f1f956..b7f6771b5ed9 100644 --- a/app-arch/pure-sfv/files/pure-sfv-0.3-fix-build-system.patch +++ b/app-arch/pure-sfv/files/pure-sfv-0.3-fix-build-system.patch @@ -1,10 +1,11 @@ --- a/Makefile +++ b/Makefile -@@ -54,18 +54,16 @@ +@@ -54,18 +54,17 @@ VC_CRAP = pure-sfv.ncb pure-sfv.plg -CFLAGS += -Wall -Werror -O2 -g -Wno-unused ++CFLAGS += -Wall -Wno-unused INSTALL_PREFIX = /usr/local INSTALL_PROGRAM = /usr/bin/install -c diff --git a/app-arch/pure-sfv/pure-sfv-0.3-r1.ebuild b/app-arch/pure-sfv/pure-sfv-0.3-r1.ebuild deleted file mode 100644 index f28c6df42ec4..000000000000 --- a/app-arch/pure-sfv/pure-sfv-0.3-r1.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit flag-o-matic toolchain-funcs - -DESCRIPTION="utility to test and create .sfv files and create .par files" -HOMEPAGE="http://pure-sfv.sourceforge.net/" -SRC_URI="mirror://sourceforge/pure-sfv/${PN}_${PV}_src.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~hppa ppc x86" -IUSE="" -RESTRICT="test" - -S=${WORKDIR} -PATCHES=( "${FILESDIR}"/${PN}-0.3-fix-build-system.patch ) - -src_configure() { - append-cflags -Wall -Wno-unused - tc-export CC -} - -src_install() { - dobin pure-sfv - newdoc ReadMe.txt README -} diff --git a/app-arch/pure-sfv/pure-sfv-0.3-r2.ebuild b/app-arch/pure-sfv/pure-sfv-0.3-r2.ebuild new file mode 100644 index 000000000000..fec0272766c1 --- /dev/null +++ b/app-arch/pure-sfv/pure-sfv-0.3-r2.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="utility to test and create .sfv files and create .par files" +HOMEPAGE="http://pure-sfv.sourceforge.net/" +SRC_URI="mirror://sourceforge/pure-sfv/${PN}_${PV}_src.tar.gz" +S="${WORKDIR}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~hppa ppc x86" +RESTRICT="test" + +PATCHES=( "${FILESDIR}"/${PN}-0.3-fix-build-system.patch ) + +src_configure() { + tc-export CC +} + +src_install() { + dobin pure-sfv + newdoc ReadMe.txt README +} -- cgit v1.2.3-65-gdbad