2014-01-23 13:06:47 +01:00
|
|
|
# Template file for 'rpi-base'
|
|
|
|
pkgname=rpi-base
|
2014-07-28 22:20:08 +02:00
|
|
|
version=1.7
|
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-01-23 13:22:33 +01:00
|
|
|
makedepends="ntp?ntp-daemon dhcpcd openssh-server rpi-firmware rpi-kernel"
|
2014-01-01 16:10:11 +01:00
|
|
|
depends="${makedepends}"
|
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
|
|
|
|
}
|