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

29 lines
889 B
Bash

# Template file for 's6-portable-utils'
pkgname=s6-portable-utils
version=2.2.1.1
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="Tiny portable generic utilities (s6-cat, s6-chmod, etc.)"
maintainer="<opsaaspo@yandex.ru>"
license="ISC"
homepage="http://skarnet.org/software/${pkgname}/"
distfiles="http://skarnet.org/software/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=6ae239d2c458a81c92b5d616129e443874f925bf3da02589913a1a3b708c4531
post_install() {
vlicense COPYING
vdoc README
vcopy "doc/*" usr/share/doc/${pkgname}
}
s6-portable-utils-doc_package() {
noarch=yes
short_desc+=" - documentation"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/share/doc
}
}