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