2015-01-17 14:31:06 +00:00
|
|
|
# Template file for 'bananapi-base'
|
|
|
|
# Based on odroid-u2-base
|
|
|
|
pkgname=bananapi-base
|
2015-04-16 05:51:23 +00:00
|
|
|
version=2.3
|
2015-01-17 14:31:06 +00:00
|
|
|
revision=1
|
|
|
|
build_style=meta
|
|
|
|
homepage="http://www.voidlinux.eu"
|
|
|
|
short_desc="Void Linux Banana Pi platform package"
|
|
|
|
maintainer="necrophcodr <necrophcodr@necrophcodr.me>"
|
|
|
|
license="Public Domain"
|
|
|
|
|
|
|
|
only_for_archs="armv7l"
|
2015-04-16 05:51:23 +00:00
|
|
|
depends="virtual?ntp-daemon sun7i-kernel bananapi-uboot linux-firmware-network"
|
2015-01-17 14:31:06 +00:00
|
|
|
|
|
|
|
do_install() {
|
2015-01-19 13:36:58 +00:00
|
|
|
# Load the sunxi-gmac module by default.
|
|
|
|
vmkdir usr/lib/modules-load.d
|
|
|
|
echo sunxi-gmac > ${DESTDIR}/usr/lib/modules-load.d/bpi.conf
|
2015-01-17 14:31:06 +00:00
|
|
|
# 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-bpi-video.rules
|
|
|
|
|
|
|
|
}
|