From 428fe153039f0dfbfb89d00387d2046b65e6ed03 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Thu, 1 Jan 2015 21:47:18 +0100 Subject: [PATCH] New package: tgt-1.0.53 --- srcpkgs/tgt/template | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 srcpkgs/tgt/template diff --git a/srcpkgs/tgt/template b/srcpkgs/tgt/template new file mode 100644 index 0000000000..6043ad5996 --- /dev/null +++ b/srcpkgs/tgt/template @@ -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 " +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 +}