mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 08:52:56 +02:00
New package: tgt-1.0.53
This commit is contained in:
parent
2ffd19458b
commit
428fe15303
1 changed files with 26 additions and 0 deletions
26
srcpkgs/tgt/template
Normal file
26
srcpkgs/tgt/template
Normal 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
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue