void-packages/srcpkgs/s6/template
2016-02-26 12:29:53 +01:00

35 lines
881 B
Bash

# Template file for 's6'
pkgname=s6
version=2.2.4.3
revision=1
build_style=gnu-configure
makedepends="execline-devel skalibs-devel"
configure_args="--libdir=/usr/lib"
short_desc="Small suite of programs for UNIX, designed to allow process supervision"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="ISC"
homepage="http://skarnet.org/software/s6/"
distfiles="http://skarnet.org/software/s6/s6-${version}.tar.gz"
checksum=f584ec56d5f2a3a2d81698d5f744b9b64d8fb6c22b56649faa71f3b62da7db3f
post_install() {
vlicense COPYING
vdoc README
vcopy "doc/*" usr/share/doc/${pkgname}
}
s6-doc_package() {
noarch=yes
short_desc="s6 supervision documentation"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/share/doc
}
}
s6-devel_package() {
short_desc="s6 supervision library and headers"
pkg_install() {
vmove usr/include
vmove usr/lib/*.a
}
}