f983a5d8df
Closes #9747. Signed-off-by: Enno Boland <gottox@voidlinux.eu>
30 lines
954 B
Bash
30 lines
954 B
Bash
# Template file for 's6-rc'
|
|
pkgname=s6-rc
|
|
version=0.3.0.1
|
|
revision=1
|
|
build_style=gnu-configure
|
|
makedepends="execline-devel skalibs-devel s6-devel"
|
|
configure_args="--libdir=/usr/lib --includedir=/usr/include --with-sysdeps=${XBPS_CROSS_BASE}/usr/lib/skalibs/sysdeps --with-lib=${XBPS_CROSS_BASE}/usr/lib"
|
|
short_desc="Service manager of the s6 init system"
|
|
maintainer="<opsaaspo@yandex.ru>"
|
|
license="ISC"
|
|
homepage="http://skarnet.org/software/${pkgname}/"
|
|
distfiles="http://skarnet.org/software/${pkgname}/${pkgname}-${version}.tar.gz"
|
|
checksum=ac0afe7adb3be24e3d0bd7ff1ed1011018751699669ce763a9562ab336fc7428
|
|
|
|
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() {
|
|
noarch=yes
|
|
short_desc+=" - documentation"
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/share/doc
|
|
}
|
|
}
|