void-packages/srcpkgs/s6-linux-utils/template
opsaaspo 4ed3fa217f New package: s6-linux-utils-2.4.0.0
Closes: #6480 [via git-merge-pr]
2017-06-22 00:53:23 -07:00

28 lines
799 B
Bash

# Template file for 's6-linux-utils'
pkgname=s6-linux-utils
version=2.4.0.0
revision=1
build_style=gnu-configure
makedepends="skalibs-devel"
configure_args="--libdir=/usr/lib --includedir=/usr/include"
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=3afb7b972a9d54042ac0aabde5489be90039374b6a90ef45f7f32ce2e83d1e63
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
}
}