void-packages/srcpkgs/linux/template

25 lines
679 B
Text
Raw Normal View History

# Template file for 'linux'
pkgname=linux
2014-12-17 17:32:56 +00:00
version=3.18
revision=1
build_style=meta
homepage="http://www.voidlinux.eu/"
2014-12-17 17:32:56 +00:00
short_desc="The Linux kernel meta package"
2014-11-03 14:51:42 +00:00
update_site="https://www.kernel.org/feeds/kdist.xml"
update_pattern="<title>\K\d+.\d+(?=.[\d]+: stable</title>)"
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*)
2014-12-17 17:32:56 +00:00
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}"
}