void-packages/srcpkgs/rpi-base/template

45 lines
884 B
Bash

# Template file for 'rpi-base'
pkgname=rpi-base
version=3.0
revision=3
archs="armv6l* armv7l* aarch64*"
depends="virtual?ntp-daemon rpi-firmware rpi-kernel"
short_desc="Void Linux Raspberry Pi base files"
maintainer="Orphaned <orphan@voidlinux.org>"
license="Public Domain"
homepage="https://www.voidlinux.org"
do_install() {
vinstall "${FILESDIR}/71-raspberrypi.rules" 644 usr/lib/udev/rules.d
}
case "$XBPS_TARGET_MACHINE" in
armv6*)
subpackages=" "
;;
armv7*)
subpackages="rpi2-base"
;;
aarch64*)
subpackages="rpi3-base rpi4-base"
;;
esac
rpi2-base_package() {
build_style=meta
short_desc+=" (transitional dummy package)"
depends="rpi-base"
}
rpi3-base_package() {
build_style=meta
short_desc+=" (transitional dummy package)"
depends="rpi-base"
}
rpi4-base_package() {
build_style=meta
short_desc+=" (transitional dummy package)"
depends="rpi-base"
}