2021-05-11 00:09:02 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE="https://github.com/RfidResearchGroup/proxmark3"
|
|
|
|
TERMUX_PKG_DESCRIPTION="The Swiss Army Knife of RFID Research - RRG/Iceman repo"
|
2022-02-20 20:06:21 +01:00
|
|
|
TERMUX_PKG_LICENSE="GPL-3.0"
|
2021-05-11 00:09:02 +02:00
|
|
|
TERMUX_PKG_MAINTAINER="Marlin Sööse <marlin.soose@laro.se>"
|
2022-03-13 23:35:10 +01:00
|
|
|
_COMMIT=63612c93758c391dd0cf9b6b6b5486cf4f16aa32
|
|
|
|
TERMUX_PKG_VERSION="2022.03.13-${_COMMIT:0:8}"
|
|
|
|
TERMUX_PKG_SRCURL="https://github.com/RfidResearchGroup/proxmark3/archive/63612c93758c391dd0cf9b6b6b5486cf4f16aa32.tar.gz"
|
|
|
|
TERMUX_PKG_SHA256="b430eba137513cfeb04f0ddb179a502084568a9d8650b6074a1dc1cc6dd9fb7c"
|
2021-05-28 11:52:39 +02:00
|
|
|
TERMUX_PKG_DEPENDS="libbz2, libc++, readline"
|
2021-05-11 00:09:02 +02:00
|
|
|
TERMUX_PKG_BUILD_IN_SRC="true"
|
|
|
|
TERMUX_PKG_BLACKLISTED_ARCHES="i686, x86_64"
|
|
|
|
|
2021-05-11 23:10:27 +02:00
|
|
|
termux_step_post_configure() {
|
|
|
|
LDLIBS="-L${TERMUX_PREFIX}/lib" INCLUDES_CLIENT="-I${TERMUX_PREFIX}/include" CFLAGS="-I${TERMUX_PREFIX}/include"
|
|
|
|
TERMUX_PKG_EXTRA_MAKE_ARGS="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"
|
2021-05-11 00:09:02 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
termux_step_make_install() {
|
|
|
|
install -Dm700 "$TERMUX_PKG_BUILDDIR"/client/proxmark3 \
|
|
|
|
"$TERMUX_PREFIX"/bin/proxmark3
|
|
|
|
}
|