void-packages/srcpkgs/linux/template
meme 01d64bef0f linux: add dependencies to aarch64 and armv7l.
* fix linting error

Closes: #27011 [via git-merge-pr]
2020-12-08 12:31:17 -03:00

30 lines
823 B
Bash

# Template file for 'linux'
pkgname=linux
version=5.9
revision=2
build_style=meta
short_desc="Linux kernel meta package"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="Public Domain"
homepage="http://www.voidlinux.org/"
case "$XBPS_TARGET_MACHINE" in
i686*|x86_64*)
depends="linux${version} linux-firmware-amd linux-firmware-intel linux-firmware-nvidia linux-firmware-network dracut"
_depends_headers="linux${version}-headers"
;;
ppc*|armv7l*|aarch64*)
depends="linux${version} linux-firmware-amd linux-firmware-nvidia linux-firmware-network dracut"
_depends_headers="linux${version}-headers"
;;
arm*)
depends="linux${version}"
_depends_headers="linux${version}-headers"
;;
*) ;;
esac
linux-headers_package() {
short_desc="Linux kernel headers meta package"
depends="${_depends_headers}"
}