app-crypt/WiRouterKeyRec: port to EAPI 7

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2021-04-20 01:36:03 +01:00
parent 8680084155
commit 4d5bf0340e

View File

@@ -1,7 +1,7 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
EAPI=7
inherit toolchain-funcs
@@ -11,18 +11,17 @@ MY_P="${MY_PN}_${PV}"
DESCRIPTION="Recovery tool for wpa passphrase"
HOMEPAGE="https://www.salvatorefresta.net"
SRC_URI="https://tools.salvatorefresta.net/${MY_P}.zip -> ${P}.zip"
S="${WORKDIR}"/${MY_P}
KEYWORDS="amd64 ppc x86"
IUSE=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc x86"
DEPEND="app-arch/unzip"
RDEPEND=""
S=${WORKDIR}/${MY_P}
BDEPEND="app-arch/unzip"
src_prepare() {
default
sed -i "s:wirouterkeyrec:${PN}:" src/*.h || die
}