diff --git a/net-wireless/proxmark3/Manifest b/net-wireless/proxmark3/Manifest new file mode 100644 index 000000000..00adc16e0 --- /dev/null +++ b/net-wireless/proxmark3/Manifest @@ -0,0 +1 @@ +DIST proxmark3-3.0.1.tar.gz 21048630 BLAKE2B b1334ec4e3bfd5fbbaa1508acaeb24a34b8ba2acd7a254be4caf44391b8f05babfddf9d294434fe2ac87b5b4e0cc581acc3a2fdb85bf0f8dbed28c1d1c78d715 SHA512 27710886f701da182cff39edf6bb555e9d4ade736ad6447a4c01604bad7f0001bcdebcbdfe5f345032ca8fe11e6767c89a97fcd0b1c1f6647d1805f69ae4f0ef diff --git a/net-wireless/proxmark3/proxmark3-3.0.1.ebuild b/net-wireless/proxmark3/proxmark3-3.0.1.ebuild new file mode 100644 index 000000000..02ac86fff --- /dev/null +++ b/net-wireless/proxmark3/proxmark3-3.0.1.ebuild @@ -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} +}