void-packages/srcpkgs/tgt/template
2015-02-08 18:19:57 +01:00

26 lines
738 B
Text

# Template file for 'tgt'
pkgname=tgt
version=1.0.55
revision=1
build_style=gnu-makefile
make_install_args="sbindir=/usr/bin"
conf_files="/etc/tgt/targets.conf"
make_dirs="/etc/tgt/conf.d 0755 root root"
hostmakedepends="libxslt docbook-xsl"
depends="perl-Config-General"
short_desc="Linux SCSI target framework"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="GPL-3"
homepage="http://stgt.sourceforge.net/"
distfiles="https://github.com/fujita/tgt/archive/v${version}.tar.gz"
checksum=ce8d9ff5720f3d06ee7a63644098722cdc5bd085a85bdd2aa523170590944fe2
post_install() {
for f in ${DESTDIR}/etc/tgt/examples/*; do
vsconf $f
rm $f
done
vman doc/manpages/targets.conf.5
rm -rf ${DESTDIR}/usr/share/doc/tgt/html
}