void-packages/srcpkgs/tpm2-tools/template

31 lines
962 B
Bash
Raw Normal View History

2022-08-08 23:50:39 +02:00
# Template file for 'tpm2-tools'
pkgname=tpm2-tools
2022-09-28 21:15:09 +02:00
version=5.3
2022-08-08 23:50:39 +02:00
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"
2022-09-28 21:15:09 +02:00
checksum=24a4113ad1aef589a48031ad448d019466294e0400c8382ffab3e8d4aff48c2d
2022-08-08 23:50:39 +02:00
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() {
2022-09-28 21:15:09 +02:00
vlicense docs/LICENSE
2022-08-08 23:50:39 +02:00
}