mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-26 16:51:03 +02:00
31 lines
621 B
Bash
31 lines
621 B
Bash
# Copyright 1999-2017 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=6
|
|
|
|
inherit eutils
|
|
|
|
DESCRIPTION="Bruteforce offline the WPS pin exploiting the low or non-existing entropy"
|
|
HOMEPAGE="https://github.com/wiire/pixiewps"
|
|
SRC_URI="https://github.com/wiire/pixiewps/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
LICENSE="GPL-3"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
IUSE=""
|
|
|
|
DEPEND="dev-libs/openssl:0"
|
|
RDEPEND="${DEPEND}"
|
|
|
|
S="${WORKDIR}/${P}/src"
|
|
|
|
src_prepare(){
|
|
sed -i 's|/usr/local|/usr|' Makefile || die
|
|
eapply_user
|
|
}
|
|
|
|
src_install(){
|
|
default
|
|
dodoc ../README.md
|
|
doman ../pixiewps.1
|
|
}
|