You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
901 B
22 lines
901 B
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>"
|
|
_COMMIT=656f35036d5096e052864693156e99fbc1a5493a
|
|
TERMUX_PKG_VERSION=2020.03.13-g${_COMMIT:0:8}
|
|
TERMUX_PKG_REVISION=1
|
|
TERMUX_PKG_SRCURL=https://github.com/RfidResearchGroup/proxmark3/archive/${_COMMIT}.tar.gz
|
|
TERMUX_PKG_SHA256=3667748d24921f820ef033edbb8343f383d7afda8d061e829c51f98f4423105b
|
|
TERMUX_PKG_BUILD_DEPENDS="readline"
|
|
TERMUX_PKG_BUILD_IN_SRC="true"
|
|
TERMUX_PKG_BLACKLISTED_ARCHES="i686, x86_64"
|
|
|
|
termux_step_make() {
|
|
LD=$CC
|
|
make PLATFORM=PM3OTHER client -j $TERMUX_MAKE_PROCESSES LDLIBS="-L$TERMUX_PREFIX/lib -lreadline -lm"
|
|
}
|
|
|
|
termux_step_make_install() {
|
|
install -Dm700 "$TERMUX_PKG_BUILDDIR"/client/proxmark3 \
|
|
"$TERMUX_PREFIX"/bin/proxmark3
|
|
}
|
|
|