PKGNAME=tpm2-tss
PKGSEC=libs
PKGDEP="openssl"
BUILDDEP="autoconf-archive"
PKGDES="Implementation of the TCG Trusted Platform Module 2.0 Software Stack (TSS2)"

AUTOTOOLS_AFTER=(
	"--with-runstatedir=/run"
	"--with-sysusersdir=/usr/lib/sysusers.d"
	"--with-tmpfilesdir=/usr/lib/tmpfiles.d"
	"--with-udevrulesprefix=60-"
)

# Needed by Afterglow, whereas FAIL_ARCH defaults to mainline-only.
FAIL_ARCH="!(mainline|retro)"
