diff options
author | Sam James <sam@gentoo.org> | 2021-04-20 01:36:03 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-04-20 02:20:29 +0100 |
commit | 4d5bf0340eafdc658da6fb6962a2a4a9f93bad11 (patch) | |
tree | b9d89b5147e42a43ae2230b975c95ebbcd16f138 /app-crypt | |
parent | app-editors/hexedit: port to EAPI 7 (diff) | |
download | gentoo-4d5bf0340eafdc658da6fb6962a2a4a9f93bad11.tar.gz gentoo-4d5bf0340eafdc658da6fb6962a2a4a9f93bad11.tar.bz2 gentoo-4d5bf0340eafdc658da6fb6962a2a4a9f93bad11.zip |
app-crypt/WiRouterKeyRec: port to EAPI 7
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-crypt')
-rw-r--r-- | app-crypt/WiRouterKeyRec/WiRouterKeyRec-1.1.2.ebuild | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/app-crypt/WiRouterKeyRec/WiRouterKeyRec-1.1.2.ebuild b/app-crypt/WiRouterKeyRec/WiRouterKeyRec-1.1.2.ebuild index e6e66ef98382..dc69de0abd25 100644 --- a/app-crypt/WiRouterKeyRec/WiRouterKeyRec-1.1.2.ebuild +++ b/app-crypt/WiRouterKeyRec/WiRouterKeyRec-1.1.2.ebuild @@ -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 } |