PORTNAME= tpm2-tss DISTVERSION= 3.2.0 CATEGORIES= security MASTER_SITES= https://github.com/tpm2-software/tpm2-tss/releases/download/${DISTVERSION}/ MAINTAINER= tstruk@gmail.com COMMENT= TPM2 Software Stack core library LICENSE= BSD2CLAUSE LIB_DEPENDS= libjson-c.so:devel/json-c \ libcurl.so:ftp/curl \ libssl.so.11:security/openssl USES= compiler:c11 gmake libtool pkgconfig ssl USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ENV= LIBCRYPTO_CFLAGS="-I${OPENSSLINC}" LIBCRYPTO_LIBS="-L${OPENSSLLIB} -lcrypto" \ EXTRA_CFLAGS="-I${LOCALBASE}/include" KEYDIR= /var/lib/tpm2-tss/system/keystore RUNDIR= /var/run/tpm2-tss/eventlog CONFIGURE_ARGS= --disable-doxygen-doc --disable-dependency-tracking --enable-valgrind=no \ --with-runstatedir=${RUNDIR} INSTALL_TARGET= install-strip post-install: @${RM} ${STAGEDIR}${PREFIX}/lib/udev/rules.d/tpm-udev.rules @${RMDIR} ${STAGEDIR}${PREFIX}/lib/udev/rules.d @${RMDIR} ${STAGEDIR}${PREFIX}/lib/udev @${MKDIR} ${STAGEDIR}${RUNDIR} @${MKDIR} ${STAGEDIR}${KEYDIR} .include