2015-01-01 20:47:18 +00:00
|
|
|
# Template file for 'tgt'
|
|
|
|
pkgname=tgt
|
2015-03-02 14:02:56 +00:00
|
|
|
version=1.0.56
|
2015-01-01 20:47:18 +00:00
|
|
|
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"
|
2015-03-02 14:02:56 +00:00
|
|
|
checksum=eec6e90d487eecdff18204431f6584ec819f91fc4a15a525591795c082ea3d26
|
2015-01-01 20:47:18 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|