void-packages/srcpkgs/base-chroot/template

33 lines
846 B
Bash

# Template file for 'base-chroot'
pkgname=base-chroot
version=0.66
revision=3
bootstrap=yes
build_style=meta
short_desc="Minimal set of packages required for chroot with xbps-src"
maintainer="Juan RP <xtraeme@gmail.com>"
license="Public Domain"
homepage="http://www.voidlinux.org"
case "$XBPS_TARGET_LIBC" in
musl) depends="musl-devel";;
*) depends="glibc-devel glibc-locales";;
esac
depends+="
base-files binutils gcc gcc-ada libada-devel
patch sed findutils diffutils make gzip coreutils
file bsdtar ccache xbps mpfr ncurses libreadline8
chroot-bash chroot-grep chroot-gawk chroot-distcc
chroot-util-linux chroot-git"
if [ "$XBPS_TARGET_LIBC" = musl ]; then
base-chroot-musl_package() {
build_style=meta
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - transitional dummy package"
}
fi # "$XBPS_TARGET_LIBC" = musl