37 lines
1.1 KiB
Text
37 lines
1.1 KiB
Text
# Template file for 'base-system-runit'
|
|
pkgname=base-system-runit
|
|
version=0.1
|
|
revision=1
|
|
build_style=meta
|
|
homepage="http://www.voidlinux.eu/"
|
|
short_desc="Void Linux base system meta package with runit"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
license="Public domain"
|
|
|
|
conflicts="base-system>=0"
|
|
|
|
makedepends="
|
|
base-files>=0.77 ncurses coreutils findutils gcc glibc glibc-locales 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 eudev runit-void dcron?cron-daemon openssh dhcpcd
|
|
iproute2 iputils iw wpa_supplicant xbps netbsd-wtf nvi sudo wifi-firmware
|
|
void-artwork nss-mdns traceroute ethtool parted kmod"
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
i686) makedepends+=" linux grub";;
|
|
x86_64) makedepends+=" linux grub-x86_64-efi";;
|
|
esac
|
|
|
|
# gcc and glibc shouldn't be direct dependencies.
|
|
for f in ${makedepends}; do
|
|
if [ "$f" != "gcc" -a "$f" != "glibc" ]; then
|
|
depends+=" $f"
|
|
fi
|
|
done
|
|
|
|
do_install() {
|
|
# Create /sbin/init symlink to runit-init.
|
|
vmkdir usr/sbin
|
|
ln -s /usr/bin/runit-init ${DESTDIR}/usr/sbin/init
|
|
}
|