2020-02-23 12:06:33 +01:00
|
|
|
TERMUX_PKG_HOMEPAGE="https://github.com/RfidResearchGroup/proxmark3"
|
2020-02-23 13:18:46 +01:00
|
|
|
TERMUX_PKG_DESCRIPTION="The Swiss Army Knife of RFID Research - RRG/Iceman repo"
|
2022-02-20 06:34:12 +01:00
|
|
|
TERMUX_PKG_LICENSE="GPL-3.0"
|
2020-03-01 15:55:37 +01:00
|
|
|
TERMUX_PKG_MAINTAINER="Marlin Sööse <marlin.soose@laro.se>"
|
2022-02-20 06:34:12 +01:00
|
|
|
TERMUX_PKG_REVISION=2
|
2022-01-11 19:32:20 +01:00
|
|
|
TERMUX_PKG_VERSION=1:4.14831
|
2020-05-22 19:47:50 +02:00
|
|
|
TERMUX_PKG_SRCURL=https://github.com/RfidResearchGroup/proxmark3/archive/v${TERMUX_PKG_VERSION:2}.tar.gz
|
2022-01-11 19:32:20 +01:00
|
|
|
TERMUX_PKG_SHA256=36006cf30c30a533027de851fe9a96593a093e2e03cddf1703aa81940b9bb9a9
|
2021-10-04 12:43:31 +02:00
|
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
2021-06-26 00:30:57 +02:00
|
|
|
TERMUX_PKG_DEPENDS="libbz2, libc++, readline"
|
2020-02-23 12:06:33 +01:00
|
|
|
TERMUX_PKG_BUILD_IN_SRC="true"
|
2020-02-23 12:59:52 +01:00
|
|
|
TERMUX_PKG_BLACKLISTED_ARCHES="i686, x86_64"
|
2020-02-23 12:06:33 +01:00
|
|
|
|
2021-06-26 00:30:57 +02:00
|
|
|
termux_step_post_configure() {
|
2021-06-26 08:35:16 +02:00
|
|
|
export LDLIBS="-L${TERMUX_PREFIX}/lib"
|
|
|
|
export INCLUDES="-I${TERMUX_PREFIX}/include"
|
2022-02-15 00:28:29 +01:00
|
|
|
TERMUX_PKG_EXTRA_MAKE_ARGS="client CC=$CC CXX=$CXX LD=$CXX cpu_arch=generic SKIPREVENGTEST=1 SKIPQT=1 SKIPPTHREAD=1 PLATFORM=PM3GENERIC DEBUG=1"
|
2020-02-23 12:06:33 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
termux_step_make_install() {
|
2021-06-26 08:35:16 +02:00
|
|
|
install -Dm700 "$TERMUX_PKG_BUILDDIR"/client/proxmark3 \
|
|
|
|
"$TERMUX_PREFIX"/bin/proxmark3
|
2020-02-23 12:06:33 +01:00
|
|
|
}
|