diff options
Diffstat (limited to 'app-crypt/WiRouterKeyRec/WiRouterKeyRec-1.1.2.ebuild')
-rw-r--r-- | app-crypt/WiRouterKeyRec/WiRouterKeyRec-1.1.2.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/app-crypt/WiRouterKeyRec/WiRouterKeyRec-1.1.2.ebuild b/app-crypt/WiRouterKeyRec/WiRouterKeyRec-1.1.2.ebuild new file mode 100644 index 000000000000..cee83355103b --- /dev/null +++ b/app-crypt/WiRouterKeyRec/WiRouterKeyRec-1.1.2.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit toolchain-funcs + +MY_PN="WiRouter_KeyRec" +MY_P="${MY_PN}_${PV}" + +DESCRIPTION="Recovery tool for wpa passphrase" +HOMEPAGE="http://www.salvatorefresta.net" +SRC_URI="http://tools.salvatorefresta.net/${MY_P}.zip -> ${P}.zip" + +KEYWORDS="amd64 ppc x86" +IUSE="" +LICENSE="GPL-2" +SLOT="0" + +DEPEND="app-arch/unzip" +RDEPEND="" + +S=${WORKDIR}/${MY_P} + +src_prepare () { + sed -i "s:wirouterkeyrec:${PN}:" src/*.h || die +} + +src_compile () { + emake \ + CC="$(tc-getCC)" \ + CFLAGS="${CFLAGS}" \ + LDFLAGS="${LDFLAGS}" +} + +src_install () { + newbin build/wirouterkeyrec ${PN} + insinto /etc/${PN} + doins config/agpf_config.lst config/teletu_config.lst +} |