2014-01-23 12:06:47 +00:00
|
|
|
# Template file for 'rpi-base'
|
|
|
|
pkgname=rpi-base
|
2014-07-28 20:30:37 +00:00
|
|
|
version=1.8
|
2013-11-11 11:53:27 +00:00
|
|
|
revision=1
|
|
|
|
homepage="http://www.voidlinux.eu"
|
2014-01-23 12:06:47 +00:00
|
|
|
short_desc="Void Linux RaspberryPi base files"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="Public Domain"
|
2013-11-11 11:53:27 +00:00
|
|
|
|
|
|
|
only_for_archs="armv6l"
|
2014-01-23 12:22:33 +00:00
|
|
|
makedepends="ntp?ntp-daemon dhcpcd openssh-server rpi-firmware rpi-kernel"
|
2014-01-01 15:10:11 +00:00
|
|
|
depends="${makedepends}"
|
2014-01-23 12:06:47 +00:00
|
|
|
|
2013-11-11 11:53:27 +00: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
|
|
|
|
# Fix permissions for the vchiq device.
|
|
|
|
vmkdir usr/lib/udev/rules.d
|
2014-07-18 07:32:40 +00:00
|
|
|
echo 'SUBSYSTEM=="vchiq", GROUP="video", MODE="0660"' > \
|
2013-11-11 11:53:27 +00:00
|
|
|
${DESTDIR}/usr/lib/udev/rules.d/71-raspberrypi.rules
|
|
|
|
}
|