diff options
author | Sam James <sam@gentoo.org> | 2021-04-04 08:40:38 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-04-04 09:15:39 +0000 |
commit | 21545c5793042c6dc3caf6ef6728593291e544c2 (patch) | |
tree | 83c2aeb52cf25207786a2cdcb518d25c629c9b70 /games-misc/fortune-mod-at-linux | |
parent | games-action/beathazardultra: sort inherit (diff) | |
download | gentoo-21545c5793042c6dc3caf6ef6728593291e544c2.tar.gz gentoo-21545c5793042c6dc3caf6ef6728593291e544c2.tar.bz2 gentoo-21545c5793042c6dc3caf6ef6728593291e544c2.zip |
games-misc/fortune-mod-at-linux: port to EAPI 7
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'games-misc/fortune-mod-at-linux')
-rw-r--r-- | games-misc/fortune-mod-at-linux/fortune-mod-at-linux-20030120.ebuild | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/games-misc/fortune-mod-at-linux/fortune-mod-at-linux-20030120.ebuild b/games-misc/fortune-mod-at-linux/fortune-mod-at-linux-20030120.ebuild index c19351a2a5d6..2339f337c8b1 100644 --- a/games-misc/fortune-mod-at-linux/fortune-mod-at-linux-20030120.ebuild +++ b/games-misc/fortune-mod-at-linux/fortune-mod-at-linux-20030120.ebuild @@ -1,11 +1,13 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=7 + MY_P="fortune-mod-at.linux-${PV}" DESCRIPTION="Quotes from at.linux" HOMEPAGE="http://fortune-mod-fvl.sourceforge.net/" SRC_URI="mirror://sourceforge/fortune-mod-fvl/${MY_P}.tar.gz" +S="${WORKDIR}"/${MY_P} LICENSE="GPL-2" SLOT="0" @@ -13,17 +15,15 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc64 ~x86 ~amd64-linux ~ IUSE="unicode" RDEPEND="games-misc/fortune-mod" -DEPEND="${RDEPEND} - unicode? ( virtual/libiconv )" - -S=${WORKDIR}/${MY_P} +DEPEND="${RDEPEND}" +BDEPEND=" unicode? ( virtual/libiconv )" src_compile() { # bug #322111 if use unicode ; then - iconv --from-code=ISO-8859-1 --to-code=UTF-8 at.linux > at.linux-utf8 - mv at.linux-utf8 at.linux - strfile -s at.linux + iconv --from-code=ISO-8859-1 --to-code=UTF-8 at.linux > at.linux-utf8 || die + mv at.linux-utf8 at.linux || die + strfile -s at.linux || die fi } |