proxmark3: client only, issue #309

This commit is contained in:
blshkv 2018-08-06 18:00:15 +08:00
parent e8774babcc
commit 5d863bc944
No known key found for this signature in database
GPG key ID: 273E3E90D1A6294F
2 changed files with 37 additions and 0 deletions

View file

@ -0,0 +1 @@
DIST proxmark3-3.0.1.tar.gz 21048630 BLAKE2B b1334ec4e3bfd5fbbaa1508acaeb24a34b8ba2acd7a254be4caf44391b8f05babfddf9d294434fe2ac87b5b4e0cc581acc3a2fdb85bf0f8dbed28c1d1c78d715 SHA512 27710886f701da182cff39edf6bb555e9d4ade736ad6447a4c01604bad7f0001bcdebcbdfe5f345032ca8fe11e6767c89a97fcd0b1c1f6647d1805f69ae4f0ef

View file

@ -0,0 +1,36 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
DESCRIPTION="A general purpose RFID tool for Proxmark3 hardware"
HOMEPAGE="https://github.com/Proxmark/proxmark3"
SRC_URI="https://github.com/Proxmark/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE=""
DEPEND="virtual/libusb:0
sys-libs/ncurses:*
dev-qt/qtcore:5
dev-qt/qtwidgets:5
dev-qt/qtgui:5
"
RDEPEND="${DEPEND}"
src_prepare() {
sed -i -e 's/-ltermcap/-ltinfo/g' client/Makefile || die
sed -i -e 's/-ltermcap/-ltinfo/g' liblua/Makefile || die
eapply_user
}
src_compile(){
emake client
}
src_install(){
dobin client/{flasher,proxmark3}
}