void-packages/srcpkgs/trousers/template

31 lines
752 B
Bash

# Template file for 'trousers'
pkgname=trousers
version=0.3.13
revision=1
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@gmail.com>"
license="BSD"
homepage="http://trousers.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=bb908e4a3c88a17b247a4fc8e0fff3419d8a13170fe7bdfbe0e2c5c082a276d3
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
}
}