2013-02-19 18:38:41 +01:00
|
|
|
# Template file for 'base-system-rpi'
|
|
|
|
pkgname=base-system-rpi
|
2013-03-24 20:32:32 +01:00
|
|
|
version=0.5
|
2013-02-19 18:38:41 +01:00
|
|
|
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"
|
2013-04-12 08:55:23 +02:00
|
|
|
|
|
|
|
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"
|
2013-03-24 14:36:04 +01:00
|
|
|
|
|
|
|
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
|
2013-03-24 20:32:32 +01:00
|
|
|
# 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
|
2013-03-24 14:36:04 +01:00
|
|
|
}
|
2013-04-12 08:55:23 +02:00
|
|
|
|
|
|
|
base-system-rpi_package() {
|
|
|
|
provides="base-system-${version}"
|
|
|
|
depends="${makedepends}"
|
|
|
|
pkg_install() {
|
|
|
|
vmove etc
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|