void-packages/srcpkgs/base-system/template

36 lines
1.1 KiB
Plaintext

# Template file for 'base-system'
pkgname=base-system
version=0.79
revision=1
build_style=meta
homepage="http://www.voidlinux.eu/"
short_desc="Void Linux base system meta package"
maintainer="Juan RP <xtraeme@gmail.com>"
license="Public domain"
makedepends="
base-files>=0.77 ncurses coreutils findutils gcc glibc diffutils dash bash
grep gzip texinfo file sed gawk less util-linux which tar man-pages man-db
shadow e2fsprogs btrfs-progs xfsprogs f2fs-tools dosfstools kbd psmisc procps-ng
tzdata pciutils iana-etc systemd dcron?cron-daemon openssh dhcpcd
iproute2 iputils bridge-utils ifenslave iw wpa_supplicant xbps netbsd-wtf
nvi sudo wifi-firmware linux void-artwork nss-mdns traceroute ethtool parted"
if [ "$XBPS_TARGET_MACHINE" = "i686" ]; then
makedepends+=" grub"
elif [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
makedepends+=" grub-x86_64-efi"
elif [ "$XBPS_TARGET_MACHINE" = "armv6l" ]; then
# XXX only for Raspberry Pi
makedepends+=" rpi-base-files rpi-firmware"
fi
base-system_package() {
# gcc and glibc shouldn't be direct dependencies.
for f in ${makedepends}; do
if [ "$f" != "gcc" -a "$f" != "glibc" ]; then
depends+=" $f"
fi
done
}