void-packages/srcpkgs/s6/template

37 lines
895 B
Bash
Raw Normal View History

2015-09-27 08:35:13 +00:00
# Template file for 's6'
pkgname=s6
2015-10-05 14:59:44 +00:00
version=2.2.1.1
2015-09-27 08:35:13 +00:00
revision=1
build_pie=yes
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"
2015-10-05 14:59:44 +00:00
checksum=b655120eab337bf392b7cf1a44d7382f52fe2a7fbb1e976a214382fca50a90e2
2015-09-27 08:35:13 +00:00
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
}
}