void-packages/srcpkgs/linux/template
Juan RP 86b55f225b linux: explicitly depend on dracut and linux-firmware-{amd,network}.
The linux-firmware pkg contains some rare firmware files that probably
90% of our users don't use and it takes 20MB, so avoid the dependency.
2014-05-31 09:00:11 +02:00

24 lines
601 B
Plaintext

# Template file for 'linux'
pkgname=linux
version=3.14
revision=3
build_style=meta
homepage="http://www.voidlinux.eu/"
short_desc="Linux kernel meta package"
maintainer="Juan RP <xtraeme@gmail.com>"
license="Public domain"
case "$XBPS_TARGET_MACHINE" in
i686*|x86_64*)
makedepends="linux3.14 linux-firmware-amd linux-firmware-network dracut"
depends="${makedepends}"
_depends_headers="linux3.14-headers"
;;
*) msg_error "${pkgname}-${version}: unsupported target machine.\n";;
esac
linux-headers_package() {
short_desc="Linux kernel headers meta package"
depends="${_depends_headers}"
}