void-packages/srcpkgs/cubieboard2-base/template

22 lines
731 B
Bash
Raw Normal View History

2014-01-25 16:33:50 +01:00
# Template file for 'cubieboard2-base'
pkgname=cubieboard2-base
2015-06-10 09:32:27 +02:00
version=2.5
2014-01-25 16:33:50 +01:00
revision=1
build_style=meta
homepage="http://www.voidlinux.eu"
short_desc="Void Linux Cubieboard2 platform package"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
2014-01-25 16:33:50 +01:00
license="Public Domain"
2015-05-25 21:23:32 +02:00
only_for_archs="armv7l armv7l-musl"
depends="virtual?ntp-daemon cubieboard2-uboot sun7i-kernel linux-firmware-network"
2014-01-25 16:33:50 +01: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
# 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
}