2014-07-28 17:19:30 +02:00
|
|
|
# Template file for 'base-system'
|
|
|
|
pkgname=base-system
|
2015-03-14 08:04:37 +01:00
|
|
|
version=0.103
|
2014-07-28 17:19:30 +02:00
|
|
|
revision=1
|
|
|
|
build_style=meta
|
|
|
|
homepage="http://www.voidlinux.eu/"
|
|
|
|
short_desc="Void Linux base system meta package"
|
2015-04-10 09:16:30 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2014-07-28 17:19:30 +02:00
|
|
|
license="Public domain"
|
|
|
|
|
2014-07-30 18:16:40 +02:00
|
|
|
depends="
|
2014-11-11 10:05:16 +01:00
|
|
|
base-files>=0.77 ncurses coreutils coreutils-doc findutils diffutils
|
2014-11-05 22:15:44 +01:00
|
|
|
dash bash grep gzip file sed gawk less util-linux which tar man-pages
|
2015-03-14 08:04:37 +01:00
|
|
|
mdocml>=1.13.3 shadow e2fsprogs btrfs-progs xfsprogs f2fs-tools dosfstools
|
2014-10-28 09:54:00 +01:00
|
|
|
psmisc procps-ng tzdata pciutils iana-etc openssh dhcpcd
|
2014-09-23 08:30:01 +02:00
|
|
|
kbd iproute2 iputils iw wpa_supplicant xbps nvi sudo wifi-firmware
|
2014-12-05 12:11:51 +01:00
|
|
|
void-artwork traceroute ethtool kmod acpid
|
2014-10-28 09:54:00 +01:00
|
|
|
$(vopt_if systemd systemd 'eudev runit-void')"
|
2014-07-28 17:19:30 +02:00
|
|
|
|
2014-11-10 13:57:30 +01:00
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
|
|
*-musl);;
|
2014-11-11 10:06:18 +01:00
|
|
|
*) depends+=" glibc-locales";;
|
2014-11-10 13:57:30 +01:00
|
|
|
esac
|
2014-07-28 17:19:30 +02:00
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
2014-11-11 10:26:43 +01:00
|
|
|
i686*) depends+=" linux";;
|
|
|
|
x86_64*) depends+=" linux";;
|
2014-07-28 17:19:30 +02:00
|
|
|
esac
|
|
|
|
|
2014-10-28 09:54:00 +01:00
|
|
|
build_options="systemd"
|
|
|
|
|
2014-07-28 17:19:30 +02:00
|
|
|
do_install() {
|
|
|
|
# Create /sbin/init symlink to runit-init.
|
2014-10-28 09:54:00 +01:00
|
|
|
if [ -z "$build_option_systemd" ]; then
|
|
|
|
vmkdir usr/sbin
|
|
|
|
ln -s /usr/bin/runit-init ${DESTDIR}/usr/sbin/init
|
|
|
|
fi
|
2014-07-28 17:19:30 +02:00
|
|
|
}
|