2013-02-19 17:38:41 +00:00
|
|
|
# Template file for 'base-system-rpi'
|
|
|
|
pkgname=base-system-rpi
|
2013-08-22 14:06:34 +00:00
|
|
|
version=0.6
|
2013-02-19 17:38:41 +00: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"
|
2013-08-22 14:06:34 +00:00
|
|
|
|
2013-02-19 17:38:41 +00:00
|
|
|
only_for_archs="armv6l"
|
2013-04-12 06:55:23 +00:00
|
|
|
|
2013-08-22 14:08:16 +00:00
|
|
|
_depends="base-files ncurses coreutils findutils diffutils dash bash grep
|
2013-04-12 06:55:23 +00:00
|
|
|
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
|
2013-08-22 14:06:34 +00:00
|
|
|
wifi-firmware nss-mdns traceroute ethtool kernel-rpi rpi-firmware
|
|
|
|
dosfstools parted"
|
2013-03-24 13:36:04 +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
|
2013-03-24 19:32:32 +00: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 13:36:04 +00:00
|
|
|
}
|
2013-04-12 06:55:23 +00:00
|
|
|
|
|
|
|
base-system-rpi_package() {
|
|
|
|
provides="base-system-${version}"
|
2013-08-22 14:08:16 +00:00
|
|
|
depends="${_depends}"
|
2013-04-12 06:55:23 +00:00
|
|
|
pkg_install() {
|
2013-08-22 14:06:34 +00:00
|
|
|
vmove all
|
2013-04-12 06:55:23 +00:00
|
|
|
}
|
|
|
|
}
|