New package: tpm2-tools-5.2
This commit is contained in:
parent
7e3b026337
commit
a9ebbc65b5
11
srcpkgs/tpm2-tools/patches/version-cache.patch
Normal file
11
srcpkgs/tpm2-tools/patches/version-cache.patch
Normal file
@ -0,0 +1,11 @@
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index f1c1711..2ca51b0 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -1,5 +1,5 @@
|
||||
AC_INIT([tpm2-tools],
|
||||
- [m4_esyscmd_s([git describe --tags --always --dirty])])
|
||||
+ [m4_esyscmd_s([cat VERSION])])
|
||||
AC_CONFIG_MACRO_DIR([m4])
|
||||
|
||||
AX_IS_RELEASE([dash-version])
|
30
srcpkgs/tpm2-tools/template
Normal file
30
srcpkgs/tpm2-tools/template
Normal file
@ -0,0 +1,30 @@
|
||||
# Template file for 'tpm2-tools'
|
||||
pkgname=tpm2-tools
|
||||
version=5.2
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
hostmakedepends="autoconf autoconf-archive automake libtool pkg-config $(vopt_if man pandoc)"
|
||||
makedepends="libcurl-devel openssl-devel tpm2-tss-devel"
|
||||
short_desc="Trusted Platform Module (TPM2.0) tools"
|
||||
maintainer="Marcin Puc <tranzystorek.io@protonmail.com>"
|
||||
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=6b81d8214cc8006a8a5011926df917b885f320e428470a61669f577c0778e4d8
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vlicense doc/LICENSE
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user