pentoo-overlay/net-wireless/pixiewps/pixiewps-1.4.1.ebuild
2017-12-05 20:10:21 +08:00

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
}