2014-01-25 15:33:50 +00:00
|
|
|
# Template file for 'cubieboard2-base'
|
|
|
|
pkgname=cubieboard2-base
|
2014-01-27 14:04:04 +00:00
|
|
|
version=1.2
|
2014-01-25 15:33:50 +00:00
|
|
|
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.
|
|
|
|
systemd_services="
|
|
|
|
ntpdate.service on
|
|
|
|
ntpd.service on
|
|
|
|
dhcpcd.service on
|
|
|
|
sshd.service on"
|
2014-01-26 13:46:37 +00:00
|
|
|
|
|
|
|
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
|
2014-01-27 14:04:04 +00:00
|
|
|
# Set proper perms to disp and cedar devices.
|
|
|
|
vmkdir usr/lib/udev/rules.d
|
|
|
|
echo 'KERNEL=="disp", MODE="0660", GROUP="video"' > ${DESTDIR}/usr/lib/udev/rules.d/50-disp.rules
|
|
|
|
echo 'KERNEL=="cedar_dev", MODE="0660", GROUP="video"' > ${DESTDIR}/usr/lib/udev/rules.d/50-cedar.rules
|
2014-01-26 13:46:37 +00:00
|
|
|
}
|