proxmark3-git: fix build.sh

* Use _COMMIT variable for specifying the Git commit hash and then referencing
  it in version and source url.

* Move readline and libbz2 to runtime dependencies as well as specify libc++.
  Shared object dependencies:

  libbz2.so.1.0
  libc++_shared.so
  libc.so
  libdl.so
  libm.so
  libreadline.so.8
This commit is contained in:
Leonid Pliushch 2021-05-28 12:52:39 +03:00
parent 85ee466496
commit 0857191399
No known key found for this signature in database
GPG Key ID: 45F2964132545795
1 changed files with 5 additions and 4 deletions

View File

@ -2,11 +2,12 @@ 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_REVISION=4
TERMUX_PKG_VERSION="2021.05.27-3fe6c417"
TERMUX_PKG_SRCURL="https://github.com/RfidResearchGroup/proxmark3/archive/3fe6c417be629cae48e1a7d0e657676a8da06bc2.tar.gz"
_COMMIT="3fe6c417be629cae48e1a7d0e657676a8da06bc2"
TERMUX_PKG_VERSION="2021.05.27-${_COMMIT:0:8}"
TERMUX_PKG_REVISION=5
TERMUX_PKG_SRCURL="https://github.com/RfidResearchGroup/proxmark3/archive/${_COMMIT}.tar.gz"
TERMUX_PKG_SHA256="7c8d575c727d82a8d848b85eb9cf73541985dad615278bc75c839a3d9f15a81a"
TERMUX_PKG_BUILD_DEPENDS="readline,libbz2"
TERMUX_PKG_DEPENDS="libbz2, libc++, readline"
TERMUX_PKG_BUILD_IN_SRC="true"
TERMUX_PKG_BLACKLISTED_ARCHES="i686, x86_64"