Files
termux-packages/packages/libtpms/build.sh
termux-pacman-bot 7e8dceba2d bump(main/libtpms): 0.10.2
This commit has been automatically submitted by Github Actions.
2026-01-02 18:45:35 +00:00

19 lines
645 B
Bash

TERMUX_PKG_HOMEPAGE=https://github.com/stefanberger/libtpms
TERMUX_PKG_DESCRIPTION="Provides software emulation of a Trusted Platform Module (TPM 1.2 and TPM 2.0)"
TERMUX_PKG_LICENSE="BSD 3-Clause"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="0.10.2"
TERMUX_PKG_SRCURL=https://github.com/stefanberger/libtpms/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=edac03680f8a4a1c5c1d609a10e3f41e1a129e38ff5158f0c8deaedc719fb127
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_DEPENDS="openssl"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
--with-openssl
--with-tpm2
"
termux_step_pre_configure() {
autoreconf -fi
CPPFLAGS+=" -Dindex=strchr"
}