46 lines
1.3 KiB
Bash
46 lines
1.3 KiB
Bash
# Template file for 's6-rc'
|
|
pkgname=s6-rc
|
|
version=0.5.3.2
|
|
revision=1
|
|
build_style=configure
|
|
configure_args="--prefix=/usr --libdir=/usr/lib --includedir=/usr/include
|
|
--with-sysdeps=${XBPS_CROSS_BASE}/usr/lib/skalibs/sysdeps
|
|
--with-lib=${XBPS_CROSS_BASE}/usr/lib
|
|
$(vopt_if static --enable-static-libc)"
|
|
makedepends="execline-devel skalibs-devel s6-devel"
|
|
depends="s6>=2.9.0.0_1 execline>=2.5.2.0_1"
|
|
short_desc="Service manager of the s6 init system"
|
|
maintainer="Duncaen <duncaen@voidlinux.org>"
|
|
license="ISC"
|
|
homepage="https://skarnet.org/software/s6-rc/"
|
|
changelog="https://skarnet.org/software/s6-rc/upgrade.html"
|
|
distfiles="https://skarnet.org/software/${pkgname}/${pkgname}-${version}.tar.gz"
|
|
checksum=4f24a4966a4aa353d2bd1a8afca9b88c7b7bd29c46b3a1a7f5305686b9d6e038
|
|
|
|
build_options="static"
|
|
|
|
post_install() {
|
|
vlicense COPYING
|
|
vdoc README
|
|
vcopy "doc/*" usr/share/doc/${pkgname}
|
|
vmkdir usr/share/examples/${pkgname}
|
|
vcopy "examples/source/*" usr/share/examples/${pkgname}/
|
|
}
|
|
|
|
s6-rc-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/*.a
|
|
}
|
|
}
|
|
|
|
s6-rc-doc_package() {
|
|
short_desc+=" - documentation"
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/share/doc
|
|
}
|
|
}
|