New package: tgt-1.0.53

This commit is contained in:
Christian Neukirchen 2015-01-01 21:47:18 +01:00
parent 2ffd19458b
commit 428fe15303

26
srcpkgs/tgt/template Normal file
View file

@ -0,0 +1,26 @@
# Template file for 'tgt'
pkgname=tgt
version=1.0.53
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=bba6380601fc054e33a26e6ad883dc1b3fea15e2b49d92135f9001f924ed7b24
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
}