44 lines
1.3 KiB
Bash
44 lines
1.3 KiB
Bash
# Template file for 's6-linux-utils'
|
|
pkgname=s6-linux-utils
|
|
version=2.6.1.0
|
|
revision=1
|
|
build_style=configure
|
|
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
|
|
$(vopt_if static '--enable-static-libc')
|
|
$(vopt_if multicall '--enable-multicall') "
|
|
makedepends="skalibs-devel"
|
|
short_desc="Minimalistic Linux-specific system utilities (s6-chroot, s6-mount etc.)"
|
|
maintainer="mobinmob <mobinmob@disroot.org>"
|
|
license="ISC"
|
|
homepage="https://skarnet.org/software/s6-linux-utils"
|
|
changelog="https://skarnet.org/software/s6-linux-utils/upgrade.html"
|
|
distfiles="${homepage}/${pkgname}-${version}.tar.gz"
|
|
checksum=2accb5a443dd04203a6358534bdcf0dd369aceb4733e322612c2b8329260b7a2
|
|
|
|
build_options="static multicall"
|
|
desc_option_static="Build static binaries"
|
|
desc_option_multicall="Build single multicall binary instead of a binary per utility"
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
*-musl)
|
|
makedepends+=" nsss-devel"
|
|
configure_args+=" --enable-nsss --with-include=${XBPS_CROSS_BASE}/usr/include/nsss"
|
|
;;
|
|
esac
|
|
|
|
post_install() {
|
|
vlicense COPYING
|
|
vdoc README
|
|
vcopy "doc/*" usr/share/doc/${pkgname}
|
|
}
|
|
|
|
s6-linux-utils-doc_package() {
|
|
short_desc+=" - documentation"
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/share/doc
|
|
}
|
|
}
|