# Template file for 'ci20-base'
pkgname=ci20-base
version=1.1
revision=1
homepage="http://www.voidlinux.eu"
short_desc="Void Linux MIPS CI20 Creator base files"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="Public Domain"

only_for_archs="mipsel mipsel-musl mipselhf-musl"
depends="virtual?ntp-daemon ci20-kernel ci20-uboot"

do_install() {
	# wifi/bt firmware
	$XBPS_FETCH_CMD https://raw.githubusercontent.com/ZubairLK/ci20_other_files/master/brcm/brcmfmac4330-sdio.bin
	$XBPS_FETCH_CMD https://raw.githubusercontent.com/ZubairLK/ci20_other_files/master/brcm/brcmfmac4330-sdio.txt
	vinstall brcmfmac4330-sdio.bin 0644 usr/lib/firmware/brcm
	vinstall brcmfmac4330-sdio.txt 0644 usr/lib/firmware/brcm
}
