36 lines
1.1 KiB
Bash
36 lines
1.1 KiB
Bash
# Template file for 's6-linux-utils'
|
|
pkgname=s6-linux-utils
|
|
version=2.5.0.1
|
|
revision=1
|
|
build_style=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 --bindir=/usr/bin"
|
|
short_desc="Minimalistic Linux-specific system utilities (s6-chroot, s6-mount etc.)"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="ISC"
|
|
homepage="https://skarnet.org/software/${pkgname}/"
|
|
changelog="https://skarnet.org/software/s6-linux-utils/upgrade.html"
|
|
distfiles="https://skarnet.org/software/${pkgname}/${pkgname}-${version}.tar.gz"
|
|
checksum=a177f9ae546fb95f5e47e783d7bdd471bbdaf9c959cd350288e4af3ca052ec2e
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
*-musl) makedepends+=" nsss-devel" configure_args+=" --enable-nsss" ;;
|
|
esac
|
|
|
|
post_install() {
|
|
vlicense COPYING
|
|
vdoc README
|
|
vcopy "doc/*" usr/share/doc/${pkgname}
|
|
}
|
|
|
|
s6-linux-utils-doc_package() {
|
|
archs=noarch
|
|
short_desc+=" - documentation"
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/share/doc
|
|
}
|
|
}
|