EAPI=7
-inherit linux-info tmpfiles udev
+inherit autotools linux-info tmpfiles udev
DESCRIPTION="TCG Trusted Platform Module 2.0 Software Stack"
HOMEPAGE="https://github.com/tpm2-software/tpm2-tss"
fapi? ( openssl !gcrypt )"
RDEPEND="acct-group/tss
- acct-user/tss
- fapi? (
+ acct-user/tss
+ fapi? (
dev-libs/json-c
- net-misc/curl
- )
- gcrypt? ( dev-libs/libgcrypt:0= )
- openssl? ( dev-libs/openssl:0= )"
+ net-misc/curl
+ )
+ gcrypt? ( dev-libs/libgcrypt:0= )
+ openssl? ( dev-libs/openssl:0= )"
DEPEND="${RDEPEND}
test? ( dev-util/cmocka )"
BDEPEND="virtual/pkgconfig
kernel_is ge 4 12 0 || ewarn "At least kernel 4.12.0 is required"
}
+src_prepare() {
+ default
+ eautoreconf
+}
+
src_configure() {
econf \
$(use_enable doc doxygen-doc) \