bd803b2177
closes #9448
32 lines
981 B
Bash
32 lines
981 B
Bash
# Template file for 's6-rc'
|
|
pkgname=s6-rc
|
|
version=0.5.0.0
|
|
revision=2
|
|
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"
|
|
makedepends="execline-devel skalibs-devel s6-devel"
|
|
short_desc="Service manager of the s6 init system"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="ISC"
|
|
homepage="https://skarnet.org/software/${pkgname}/"
|
|
distfiles="https://skarnet.org/software/${pkgname}/${pkgname}-${version}.tar.gz"
|
|
checksum=cb7f033965a6c1b6f500cbb7a2f3ecdf2310fbb18f79e7a2a384541413b9275d
|
|
|
|
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-doc_package() {
|
|
archs=noarch
|
|
short_desc+=" - documentation"
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/share/doc
|
|
}
|
|
}
|