tpm2-tools: update to 5.5

This commit is contained in:
Marcin Puc 2023-04-03 16:08:15 +02:00 committed by Duncan Overbruck
parent 461364f38e
commit 7a855ff37a

View file

@ -1,29 +1,17 @@
# Template file for 'tpm2-tools'
pkgname=tpm2-tools
version=5.4
revision=2
version=5.5
revision=1
build_style=gnu-configure
hostmakedepends="autoconf autoconf-archive automake libtool pkg-config $(vopt_if man pandoc)"
hostmakedepends="autoconf autoconf-archive automake libtool pkg-config"
makedepends="libcurl-devel openssl-devel tpm2-tss-devel"
short_desc="Trusted Platform Module (TPM2.0) tools"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://github.com/tpm2-software/tpm2-tools/"
changelog="https://raw.githubusercontent.com/tpm2-software/tpm2-tools/master/docs/CHANGELOG.md"
distfiles="https://github.com/tpm2-software/tpm2-tools/archive/refs/tags/${version}.tar.gz"
checksum=33321bb22fa7af9c5da0f4c8446d17fcc073ae9f254f224fa218cb827b451720
build_options="man"
desc_option_man="Use pandoc for manpages"
case "$XBPS_MACHINE" in
x86_64*|i686|ppc64le*|ppc64) build_options_default="man" ;;
esac
pre_configure() {
echo "${version}" > VERSION
./bootstrap
}
distfiles="https://github.com/tpm2-software/tpm2-tools/releases/download/${version}/tpm2-tools-${version}.tar.gz"
checksum=1fdb49c730537bfdaed088884881a61e3bfd121e957ec0bdceeec0261236c123
post_install() {
vlicense docs/LICENSE