void-packages/srcpkgs/base-system-rpi/template

38 lines
1.2 KiB
Text

# Template file for 'base-system-rpi'
pkgname=base-system-rpi
version=0.6
revision=1
build_style=meta
homepage="http://www.voidlinux.eu/"
short_desc="Void Linux base system meta package for the Raspberry Pi"
maintainer="Juan RP <xtraeme@gmail.com>"
license="Public domain"
only_for_archs="armv6l"
makedepends="
base-files ncurses coreutils findutils diffutils dash bash grep
texinfo file sed gawk less util-linux which tar man-pages man-db shadow
e2fsprogs btrfs-progs xfsprogs kbd psmisc procps-ng sudo tzdata
iana-etc systemd ntp?ntp-daemon dcron?cron-daemon openssh>=6.1p1
dhcpcd iproute2 iputils dosfstools parted kernel-rpi rpi-firmware
bridge-utils ifenslave iw wpa_supplicant xbps netbsd-wtf nvi
wifi-firmware nss-mdns traceroute ethtool"
do_install() {
# Load the audio module by default.
vmkdir usr/lib/modules-load.d
echo snd-bcm2835 > ${DESTDIR}/usr/lib/modules-load.d/snd_bcm2835.conf
# Fix permissions for the vchiq device.
vmkdir usr/lib/udev/rules.d
echo 'SUBSYSTEM=="vchiq", GROUP="video", MODE="0660"' > \
${DESTDIR}/usr/lib/udev/rules.d/71-raspberrypi.rules
}
base-system-rpi_package() {
provides="base-system-${version}"
depends="${makedepends}"
pkg_install() {
vmove all
}
}