# Build template for 'kernel-snapshot'. To test the latest and greatest
# kernel available from www.kernel.org.
. ${XBPS_SRCPKGDIR}/kernel/template

# Reset some stuff.
unset revision triggers build_depends run_depends

# Override required vars.
pkgname=kernel-snapshot
#revision=1
_kernel_headers_revision=${revision}
_kernel_snapshot=yes
_kernel_ver=2.6.38
_kernel_patch_ver=rc5
version=${_kernel_ver}${_kernel_patch_ver}
wrksrc="linux-${_kernel_ver}-${_kernel_patch_ver}"
distfiles="${KERNEL_SITE}/kernel/v2.6/testing/linux-${_kernel_ver}-${_kernel_patch_ver}.tar.bz2"
checksum=b9383c89877cd65ce2b69b21aa2b4c818bbe3bbef59fd62120e3a59cc2d5d4a5
subpackages="$pkgname-headers"

noverifyrdeps=yes

Add_dependency run linux-firmware
Add_dependency run initramfs-tools
Add_dependency build perl		">=0"
Add_dependency full module-init-tools
