36 lines
1.2 KiB
Plaintext
36 lines
1.2 KiB
Plaintext
# Template file for 'base-system-rpi'
|
|
pkgname=base-system-rpi
|
|
version=0.5
|
|
revision=1
|
|
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 ntp-daemon
|
|
iana-etc systemd cron-daemon openssh>=6.1p1 dhcpcd iproute2 iputils
|
|
bridge-utils ifenslave iw wpa_supplicant xbps netbsd-wtf nvi
|
|
wifi-firmware nss-mdns traceroute ethtool kernel-rpi rpi-firmware"
|
|
|
|
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 etc
|
|
vmove usr
|
|
}
|
|
}
|