blob: 0998090a6745268f5501a34b22ccd73ef9af871a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
PORTNAME= tpm2-tss
DISTVERSION= 2.4.5
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
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"
CONFIGURE_ARGS= --disable-doxygen-doc --disable-dependency-tracking --enable-valgrind=no
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
.include <bsd.port.mk>
|