# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
maintainers gmail.com:ranauei
description Recover the default WPA passphrases of the supported router models
WiRouter KeyRec is a powerful and platform independent software \
to recover the default WPA passphrases of the supported router \
models (Telecom Italia Alice AGPF, Fastweb Pirelli, Fastweb Tesley, \
Eircom Netopia, Pirelli TeleTu/Tele 2).
homepage http://www.salvatorefresta.net
distname WiRouter_KeyRec_${version}
master_sites http://tools.salvatorefresta.net/
checksums rmd160 4a0040ffee261b54dc09967754f551dee8a7731a \
sha256 3e59138f35502b32b47bd91fe18c0c232921c08d32525a2ae3c14daec09058d4
reinplace "s|/etc|${prefix}/etc|g" ${worksrcpath}/src/agpf.h
reinplace "s|/etc|${prefix}/etc|g" ${worksrcpath}/src/teletu.h
build.args-append CC="${configure.cc} [get_canonical_archflags cc]"
xinstall ${worksrcpath}/build/${name} ${destroot}${prefix}/bin
xinstall -d ${destroot}${prefix}/etc/${name}
xinstall -m 644 -W ${worksrcpath}/config agpf_config.lst teletu_config.lst ${destroot}${prefix}/etc/${name}