void-packages/srcpkgs/linux/template
Jürgen Buchmüller 3f8e90cfcb
linux: Enable for ppc
Closes: #8244

Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
2019-05-01 18:59:53 +02:00

30 lines
819 B
Bash

# Template file for 'linux'
pkgname=linux
version=4.19
revision=1
build_style=meta
homepage="http://www.voidlinux.eu/"
short_desc="The Linux kernel meta package"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="Public Domain"
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*)
depends="linux${version} linux-firmware-amd linux-firmware-nvidia linux-firmware-network dracut"
_depends_headers="linux${version}-headers"
;;
arm*|aarch64*)
depends="linux${version}"
_depends_headers="linux${version}-headers"
;;
*) ;;
esac
linux-headers_package() {
short_desc="Linux kernel headers meta package"
depends="${_depends_headers}"
}