void-packages/srcpkgs/cubieboard2-base/template
Juan RP 21fdf73989 srcpkgs: replace all refs from voidlinux.eu to voidlinux.org.
Revbumped affected packages.

Signed-off-by: Juan RP <xtraeme@gmail.com>

[ci skip]
2019-06-06 18:42:35 +02:00

21 lines
713 B
Bash

# Template file for 'cubieboard2-base'
pkgname=cubieboard2-base
version=2.5
revision=3
build_style=meta
short_desc="Void Linux Cubieboard2 platform package"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="Public Domain"
homepage="http://www.voidlinux.org"
archs="armv7l*"
depends="virtual?ntp-daemon cubieboard2-uboot sun7i-kernel linux-firmware-network"
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
}