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"
|
2020-02-23 12:06:33 +01:00
|
|
|
TERMUX_PKG_LICENSE="GPL-2.0"
|
2020-03-01 15:55:37 +01:00
|
|
|
TERMUX_PKG_MAINTAINER="Marlin Sööse <marlin.soose@laro.se>"
|
2020-05-22 19:47:50 +02:00
|
|
|
TERMUX_PKG_VERSION="1:4.9237"
|
|
|
|
TERMUX_PKG_SRCURL=https://github.com/RfidResearchGroup/proxmark3/archive/v${TERMUX_PKG_VERSION:2}.tar.gz
|
|
|
|
TERMUX_PKG_SHA256=db93c2d3b9b7f477aca5628ed0906d9dba9c1999080452b24c601f38ab5b5226
|
2020-02-23 12:06:33 +01:00
|
|
|
TERMUX_PKG_BUILD_DEPENDS="readline"
|
|
|
|
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
|
|
|
|
|
|
|
termux_step_make() {
|
2020-05-17 22:44:06 +02:00
|
|
|
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
|
2020-02-23 12:06:33 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
termux_step_make_install() {
|
|
|
|
install -Dm700 "$TERMUX_PKG_BUILDDIR"/client/proxmark3 \
|
|
|
|
"$TERMUX_PREFIX"/bin/proxmark3
|
|
|
|
}
|