void-packages/srcpkgs/trousers/template

38 lines
913 B
Bash

# Template file for 'trousers'
pkgname=trousers
version=0.3.15
revision=1
build_style=gnu-configure
conf_files="/etc/tcsd.conf"
hostmakedepends="automake pkg-config libtool"
makedepends="openssl-devel"
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"
checksum=1e5be93e518372acf1d92d2f567d01a46fdb0b730487e544e6fb896c59cac77f
system_accounts=tss
tss_homedir=/var/lib/tpm
make_dirs="/var/lib/tpm 0700 tss tss"
pre_configure() {
autoreconf -vfi
}
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
vmove usr/share/man/man3
}
}