void-packages/srcpkgs/linux/template

22 lines
566 B
Bash

# Template file for 'linux'
pkgname=linux
version=3.19
revision=1
build_style=meta
homepage="http://www.voidlinux.eu/"
short_desc="The Linux kernel meta package"
maintainer="Juan RP <xtraeme@gmail.com>"
license="Public domain"
only_for_archs="i686 i686-musl x86_64 x86_64-musl"
case "$XBPS_TARGET_MACHINE" in
i686*|x86_64*)
depends="linux${version} linux-firmware-amd linux-firmware-network dracut"
_depends_headers="linux${version}-headers"
;;
esac
linux-headers_package() {
short_desc="Linux kernel headers meta package"
depends="${_depends_headers}"
}