void-packages/srcpkgs/tpm2-tss/template
2019-12-01 12:13:52 +01:00

35 lines
969 B
Bash

# 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
}
}