void-packages/srcpkgs/daemontools/template

28 lines
807 B
Bash

# Template file for 'daemontools'
pkgname=daemontools
version=0.76
revision=3
wrksrc=admin
build_wrksrc=${pkgname}-${version}
build_style=slashpackage
short_desc="A collection of tools for managing UNIX services"
maintainer="bougyman <tj@rubyists.com>"
license="Public Domain"
homepage="http://cr.yp.to/daemontools.html"
distfiles="http://cr.yp.to/daemontools/${pkgname}-${version}.tar.gz
http://smarden.org/pape/djb/manpages/daemontools-0.76-man-20020131.tar.gz"
checksum="a55535012b2be7a52dcd9eccabb9a198b13be50d0384143bd3b32b8710df4c1f
1b4d77afe0878a0df587672531a3f7bbe0feb7ad0e9acf50395426e3c434600a"
patch_args=-Np0
post_extract() {
mv $XBPS_BUILDDIR/daemontools-man ${wrksrc}
}
post_install() {
for m in ${wrksrc}/daemontools-man/*.8; do
vman $m
done
vdoc ${wrksrc}/daemontools-man/README
}