50 lines
1.3 KiB
Bash
50 lines
1.3 KiB
Bash
# Template file for 's6'
|
|
pkgname=s6
|
|
version=2.11.3.0
|
|
revision=1
|
|
build_style=configure
|
|
configure_args="--libdir=/usr/lib --bindir=/usr/bin
|
|
--with-sysdeps=${XBPS_CROSS_BASE}/usr/lib/skalibs/sysdeps
|
|
--with-lib=${XBPS_CROSS_BASE}/usr/lib
|
|
--exec-prefix=/usr
|
|
$(vopt_if static --enable-static-libc)"
|
|
makedepends="execline-devel skalibs-devel"
|
|
short_desc="Small suite of programs for UNIX, designed to allow process supervision"
|
|
maintainer="Duncaen <duncaen@voidlinux.org>"
|
|
license="ISC"
|
|
homepage="http://skarnet.org/software/s6/"
|
|
changelog="https://skarnet.org/software/s6/upgrade.html"
|
|
distfiles="http://skarnet.org/software/s6/s6-${version}.tar.gz"
|
|
checksum=0ef2de80c40b603d58bf65ec5dd9f0bb1f227d35f311e8948d9e30f81efb5b81
|
|
|
|
build_options="static"
|
|
desc_option_static="Build static binaries"
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
*-musl)
|
|
makedepends+=" nsss-devel"
|
|
configure_args+=" --enable-nsss --with-include=${XBPS_CROSS_BASE}/usr/include/nsss"
|
|
;;
|
|
esac
|
|
|
|
post_install() {
|
|
vlicense COPYING
|
|
vdoc README
|
|
vcopy "doc/*" usr/share/doc/${pkgname}
|
|
}
|
|
|
|
s6-doc_package() {
|
|
short_desc="Documentation for s6"
|
|
depends="${sourcepkg}>=${version}_${revision} s6-man-pages"
|
|
pkg_install() {
|
|
vmove usr/share/doc
|
|
}
|
|
}
|
|
s6-devel_package() {
|
|
short_desc="Library and headers for s6"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/*.a
|
|
}
|
|
}
|