New Package: tpm2-tss-2.3.1

This commit is contained in:
Nathan Owens 2019-11-18 11:10:24 -06:00 committed by Juan RP
parent b1954a9763
commit 96e751df65
3 changed files with 43 additions and 0 deletions

View File

@ -16,6 +16,13 @@
# PLEASE NOTE: when multiple packages provide the same SONAME, the first
# one (order top->bottom) is preferred over the next ones.
#
libtss2-mu.so.0 tpm2-tss-2.3.1_1
libtss2-esys.so.0 tpm2-tss-2.3.1_1
libtss2-sys.so.0 tpm2-tss-2.3.1_1
libtss2-tcti-device.so.0 tpm2-tss-2.3.1_1
libtss2-rc.so.0 tpm2-tss-2.3.1_1
libtss2-tcti-mssim.so.0 tpm2-tss-2.3.1_1
libtss2-tctildr.so.0 tpm2-tss-2.3.1_1
libc.so musl-1.1.21_1
libc.so.6 glibc-2.29_1
libm.so.6 glibc-2.29_1

1
srcpkgs/tpm2-tss-devel Symbolic link
View File

@ -0,0 +1 @@
tpm2-tss

35
srcpkgs/tpm2-tss/template Normal file
View File

@ -0,0 +1,35 @@
# Template file for 'tpm2-tss'
pkgname=tpm2-tss
version=2.3.1
revision=1
build_style=gnu-configure
configure_args="--disable-weakcrypto --with-crypto=gcrypt"
hostmakedepends="autoconf-archive automake libtool pkg-config
doxygen libltdl-devel"
makedepends="libltdl-devel libgcrypt-devel"
short_desc="OSS implementation of the TCG TPM2 Software Stack"
maintainer="Nathan Owens <ndowens04@gmail.com>"
license="BSD-2-Clause"
homepage="https://github.com/tpm2-software/tpm2-tss"
distfiles="https://github.com/tpm2-software/tpm2-tss/archive/${version}.tar.gz"
checksum=da818b8cb82630f561ed088ef3204b243a8f1de680623a09d775deb6014c4c99
pre_configure() {
./bootstrap
}
post_install() {
vlicense LICENSE
}
tpm2-tss-devel_package() {
depends="${sourcepkg}>=${version}_${revision} libgcrypt-devel"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
vmove usr/share/man/man3
}
}