New package: libtpms-0.9.0

This commit is contained in:
John 2021-10-04 22:19:08 +02:00 committed by John Zimmermann
parent b6405e72ed
commit a501f7a5d1
3 changed files with 35 additions and 0 deletions

View file

@ -3445,6 +3445,7 @@ libcss_parser_pp.so.0 htmlcxx-0.86_1
libcss_parser.so.0 htmlcxx-0.86_1
libaom.so.2 libaom-2.0.0_1
libre.so.1 re-2.0.1_1
libtpms.so.0 libtpms-0.9.0_1
libspandsp.so.2 spandsp-0.0.6_1
libspa-alsa.so libspa-alsa-0.3.6_1
libspa-audioconvert.so libspa-audioconvert-0.3.6_1

1
srcpkgs/libtpms-devel Symbolic link
View file

@ -0,0 +1 @@
libtpms

33
srcpkgs/libtpms/template Normal file
View file

@ -0,0 +1,33 @@
# Template file for 'libtpms'
pkgname=libtpms
version=0.9.0
revision=1
build_style=gnu-configure
hostmakedepends="libtool automake pkg-config"
makedepends="openssl-devel"
short_desc="Software emulation of a Trusted Platform Module (TPM 1.2 and TPM 2.0)"
maintainer="John <me@johnnynator.dev>"
license="BSD-3-Clause, custom:IBM"
homepage="https://github.com/stefanberger/libtpms"
distfiles="https://github.com/stefanberger/libtpms/archive/refs/tags/v${version}.tar.gz"
checksum=bcd94c8880c471358c58db89be30420384ca0ef50a0048da8d04352841d1e2fb
pre_configure() {
autoreconf -f -i
}
post_install() {
vlicense LICENSE
}
libtpms-devel_package() {
depends="${sourcepkg}>=${version}_${revision} openssl-devel"
short_desc+=" - development files"
pkg_install() {
vmove usr/share/man/man3
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}