void-packages/srcpkgs/trousers/template
Jürgen Buchmüller 7c56c233a0 trousers: needs -fcommon for gcc10
[ci skip]
2020-08-28 18:25:41 +02:00

36 lines
933 B
Bash

# Template file for 'trousers'
pkgname=trousers
version=0.3.14
revision=10
create_wrksrc=yes
build_style=gnu-configure
conf_files="/etc/tcsd.conf"
makedepends="libressl-devel"
system_accounts=tss
tss_homedir=/var/lib/tpm
short_desc="Trusted Computing Software Stack for the TPM"
maintainer="Toyam Cox <Vaelatern@voidlinux.org>"
license="BSD-3-Clause"
homepage="http://trousers.sourceforge.net/"
# distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
distfiles="https://sources.voidlinux.org/trousers-${version}/trousers-${version}.tar.gz"
checksum=ce50713a261d14b735ec9ccd97609f0ad5ce69540af560e8c3ce9eb5f2d28f47
make_dirs="/var/lib/tpm 0700 tss tss"
CFLAGS="-fcommon"
post_install() {
vlicense LICENSE
vsv tcsd
}
trousers-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/lib/*.a
vmove usr/lib/*.so
vmove usr/include
}
}