2014-01-25 16:33:50 +01:00
|
|
|
# Template file for 'cubieboard2-base'
|
|
|
|
pkgname=cubieboard2-base
|
2015-04-16 07:51:23 +02:00
|
|
|
version=2.3
|
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"
|
2015-04-10 09:16:30 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2014-01-25 16:33:50 +01:00
|
|
|
license="Public Domain"
|
|
|
|
|
|
|
|
only_for_archs="armv7l"
|
2015-04-16 07:51:23 +02:00
|
|
|
depends="virtual?ntp-daemon cubieboard2-uboot sun7i-kernel linux-firmware-network"
|
2014-01-25 16:33:50 +01:00
|
|
|
|
2014-01-26 14:46:37 +01:00
|
|
|
do_install() {
|
2015-03-23 09:45:36 +01:00
|
|
|
# Load the sunxi-emac module by default.
|
2014-01-26 14:46:37 +01:00
|
|
|
vmkdir usr/lib/modules-load.d
|
2015-03-23 09:45:36 +01:00
|
|
|
echo sunxi-emac > ${DESTDIR}/usr/lib/modules-load.d/cubieboard2.conf
|
2014-01-27 15:29:16 +01:00
|
|
|
# Set proper perms to some devices.
|
2014-01-27 15:04:04 +01:00
|
|
|
vmkdir usr/lib/udev/rules.d
|
2014-01-27 15:29:16 +01:00
|
|
|
echo 'KERNEL=="disp|cedar_dev|mali|ump", MODE="0660", GROUP="video"' > ${DESTDIR}/usr/lib/udev/rules.d/50-cubieboard.rules
|
2014-01-26 14:46:37 +01:00
|
|
|
}
|