void-packages/srcpkgs/base-system/template

38 lines
1 KiB
Text
Raw Normal View History

2014-07-28 15:19:30 +00:00
# Template file for 'base-system'
pkgname=base-system
version=0.102
2014-07-28 15:19:30 +00:00
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"
depends="
2014-11-11 09:05:16 +00:00
base-files>=0.77 ncurses coreutils coreutils-doc findutils diffutils
dash bash grep gzip file sed gawk less util-linux which tar man-pages
openbsd-man shadow e2fsprogs btrfs-progs xfsprogs f2fs-tools dosfstools
psmisc procps-ng tzdata pciutils iana-etc openssh dhcpcd
kbd iproute2 iputils iw wpa_supplicant xbps nvi sudo wifi-firmware
void-artwork traceroute ethtool kmod acpid
$(vopt_if systemd systemd 'eudev runit-void')"
2014-07-28 15:19:30 +00:00
case "$XBPS_TARGET_MACHINE" in
*-musl);;
2014-11-11 09:06:18 +00:00
*) depends+=" glibc-locales";;
esac
2014-07-28 15:19:30 +00:00
case "$XBPS_TARGET_MACHINE" in
2014-11-11 09:26:43 +00:00
i686*) depends+=" linux";;
x86_64*) depends+=" linux";;
2014-07-28 15:19:30 +00:00
esac
build_options="systemd"
2014-07-28 15:19:30 +00:00
do_install() {
# Create /sbin/init symlink to runit-init.
if [ -z "$build_option_systemd" ]; then
vmkdir usr/sbin
ln -s /usr/bin/runit-init ${DESTDIR}/usr/sbin/init
fi
2014-07-28 15:19:30 +00:00
}