proxmark3-git: add 'unstable' package

Add completely separate package for proxmark3 using more up to date builds directly from master branch on GitHub
This commit is contained in:
Marlin Sööse 2021-05-10 16:09:02 -06:00 committed by Henrik Grimler
parent 0746a2522f
commit 8bb73b1795

View File

@ -0,0 +1,20 @@
TERMUX_PKG_HOMEPAGE="https://github.com/RfidResearchGroup/proxmark3"
TERMUX_PKG_DESCRIPTION="The Swiss Army Knife of RFID Research - RRG/Iceman repo"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="Marlin Sööse <marlin.soose@laro.se>"
TERMUX_PKG_VERSION="master"
TERMUX_PKG_SRCURL=https://github.com/RfidResearchGroup/proxmark3/archive/e3ebe3afc5a1a8f712544ce7b5d3b54c93f44712.tar.gz
TERMUX_PKG_SHA256=1973d86857fb9d7e71f23b0f737c4fe7cf644e62bb02107968630e12cd04cfe0
TERMUX_PKG_BUILD_DEPENDS="readline"
TERMUX_PKG_BUILD_IN_SRC="true"
TERMUX_PKG_BLACKLISTED_ARCHES="i686, x86_64"
termux_step_make() {
LDLIBS="-L${TERMUX_PREFIX}/lib" INCLUDES_CLIENT="-I${TERMUX_PREFIX}/include/" \
make client -j $TERMUX_MAKE_PROCESSES CC=$CC CXX=$CXX LD=$CXX cpu_arch=generic SKIPREVENGTEST=1 SKIPQT=1 SKIPBT=1 SKIPPTHREAD=1 SKIPGPU=1 PLATFORM=PM3GENERIC
}
termux_step_make_install() {
install -Dm700 "$TERMUX_PKG_BUILDDIR"/client/proxmark3 \
"$TERMUX_PREFIX"/bin/proxmark3
}