void-packages/srcpkgs/s6/template
maxice8 e717e952a4 s6: update to 2.6.2.0.
Closes #9747.

Signed-off-by: Enno Boland <gottox@voidlinux.eu>
2017-12-04 10:56:29 +01:00

35 lines
977 B
Bash

# Template file for 's6'
pkgname=s6
version=2.6.2.0
revision=1
build_style=gnu-configure
makedepends="execline-devel skalibs-devel"
configure_args="--libdir=/usr/lib --with-sysdeps=${XBPS_CROSS_BASE}/usr/lib/skalibs/sysdeps --with-lib=${XBPS_CROSS_BASE}/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=0313e4b55c11a3e12d2e9766971c9cc1eb0aef85ddbb5a4385923839e937acb0
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
}
}