void-packages/srcpkgs/linux-lts/template
2018-03-21 13:59:59 +01:00

25 lines
704 B
Bash

# Template file for 'linux-lts'
pkgname=linux-lts
version=4.9
revision=2
build_style=meta
homepage="http://www.voidlinux.eu/"
short_desc="Linux LTS (Long Term Support) kernel meta package"
maintainer="Leah Neukirchen <leah@vuxu.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"
;;
arm*|aarch64*)
depends="linux${version}"
_depends_headers="linux${version}-headers"
;;
esac
linux-lts-headers_package() {
short_desc="Linux longterm support kernel headers meta package"
depends="${_depends_headers}"
}