29 lines
917 B
Text
29 lines
917 B
Text
# Template file for 'cubieboard2-base'
|
|
pkgname=cubieboard2-base
|
|
version=1.3
|
|
revision=1
|
|
build_style=meta
|
|
homepage="http://www.voidlinux.eu"
|
|
short_desc="Void Linux Cubieboard2 platform package"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
license="Public Domain"
|
|
|
|
only_for_archs="armv7l"
|
|
makedepends="ntp?ntp-daemon dhcpcd openssh-server cubieboard2-uboot cubieboard2-kernel"
|
|
depends="${makedepends}"
|
|
|
|
# enable ntpd, dhcpcd and sshd by default (but do not restart services).
|
|
systemd_services="
|
|
ntpdate.service off
|
|
ntpd.service off
|
|
dhcpcd.service off
|
|
sshd.service off"
|
|
|
|
do_install() {
|
|
# Load the sunxi-emac module by default.
|
|
vmkdir usr/lib/modules-load.d
|
|
echo sunxi-emac > ${DESTDIR}/usr/lib/modules-load.d/cubieboard2.conf
|
|
# Set proper perms to some devices.
|
|
vmkdir usr/lib/udev/rules.d
|
|
echo 'KERNEL=="disp|cedar_dev|mali|ump", MODE="0660", GROUP="video"' > ${DESTDIR}/usr/lib/udev/rules.d/50-cubieboard.rules
|
|
}
|