mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-16 14:17:02 +02:00
tpm2-totp: switch to prebuilt source destfile
This commit is contained in:
parent
31c42548e0
commit
1b981f41f1
1 changed files with 5 additions and 19 deletions
|
@ -1,9 +1,9 @@
|
|||
# Template file for 'tpm2-totp'
|
||||
pkgname=tpm2-totp
|
||||
version=0.3.0
|
||||
revision=2
|
||||
revision=3
|
||||
build_style=gnu-configure
|
||||
hostmakedepends="autoconf autoconf-archive automake doxygen libtool pkg-config $(vopt_if man pandoc)"
|
||||
hostmakedepends="autoconf autoconf-archive automake libtool pkg-config"
|
||||
makedepends="dracut mkinitcpio qrencode-devel tpm2-tss-devel"
|
||||
checkdepends="iproute2 oath-toolkit-devel swtpm tpm2-tools"
|
||||
short_desc="Attest the trustworthiness of a device using TOTP"
|
||||
|
@ -11,24 +11,13 @@ maintainer="Orphaned <orphan@voidlinux.org>"
|
|||
license="BSD-3-Clause"
|
||||
homepage="https://github.com/tpm2-software/tpm2-totp"
|
||||
changelog="https://raw.githubusercontent.com/tpm2-software/tpm2-totp/master/CHANGELOG.md"
|
||||
distfiles="https://github.com/tpm2-software/tpm2-totp/archive/refs/tags/v${version}.tar.gz"
|
||||
checksum=5ff29164979d21bc0a51afce17aee80929ccce3270d0f4abce996fd36a4469e1
|
||||
|
||||
build_options="man"
|
||||
desc_option_man="Use pandoc for manpages"
|
||||
|
||||
case "$XBPS_MACHINE" in
|
||||
x86_64*|i686|ppc64le*|ppc64) build_options_default="man" ;;
|
||||
esac
|
||||
distfiles="https://github.com/tpm2-software/tpm2-totp/releases/download/v${version}/tpm2-totp-${version}.tar.gz"
|
||||
checksum=1a8c83dc0d0dc58bd85a3fbfc9da6e39414c0d33f1a19886cde20f063f0c527b
|
||||
|
||||
if [ -n "$XBPS_CHECK_PKGS" ]; then
|
||||
configure_args="--enable-integration"
|
||||
fi
|
||||
|
||||
pre_configure() {
|
||||
autoreconf -isv
|
||||
}
|
||||
|
||||
libtpm2-totp_package() {
|
||||
short_desc+=" - library files"
|
||||
pkg_install() {
|
||||
|
@ -45,9 +34,6 @@ tpm2-totp-devel_package() {
|
|||
vmove usr/lib/pkgconfig
|
||||
vmove "usr/lib/*.a"
|
||||
vmove "usr/lib/*.so"
|
||||
|
||||
if [ -n "$build_option_man" ]; then
|
||||
vmove usr/share/man/man3
|
||||
fi
|
||||
vmove usr/share/man/man3
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue