void-packages/srcpkgs/s6-linux-utils/template

29 lines
895 B
Bash

# Template file for 's6-linux-utils'
pkgname=s6-linux-utils
version=2.4.0.2
revision=1
build_style=gnu-configure
makedepends="skalibs-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="Minimalistic Linux-specific system utilities (s6-chroot, s6-mount etc.)"
maintainer="<opsaaspo@yandex.ru>"
license="ISC"
homepage="http://skarnet.org/software/${pkgname}/"
distfiles="http://skarnet.org/software/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=37e2ad9ae370af39d1a2ae4bbf26a778539e6fb4c09d47a276de3b7e66cd8508
post_install() {
vlicense COPYING
vdoc README
vcopy "doc/*" usr/share/doc/${pkgname}
}
s6-linux-utils-doc_package() {
noarch=yes
short_desc+=" - documentation"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/share/doc
}
}