kernel-snapshot: update to 3.2.0.

This commit is contained in:
Juan RP 2012-01-06 10:02:11 +01:00
parent 14e1a40c08
commit 94685d8f9a
2 changed files with 9 additions and 5 deletions

View File

@ -3,7 +3,7 @@
_kernel_snapshot=yes _kernel_snapshot=yes
_kernel_ver=3.2 _kernel_ver=3.2
_kernel_ver_minor=0 _kernel_ver_minor=0
_kernel_patch_ver=rc7 #_kernel_patch_ver=rc7
#revision=1 #revision=1
. ${XBPS_SRCPKGDIR}/kernel/template . ${XBPS_SRCPKGDIR}/kernel/template
@ -12,8 +12,8 @@ pkgname=kernel-snapshot
_kernel_headers_revision=${revision} _kernel_headers_revision=${revision}
version=${_kernel_ver}.${_kernel_ver_minor}${_kernel_patch_ver} version=${_kernel_ver}.${_kernel_ver_minor}${_kernel_patch_ver}
short_desc="The Linux kernel (3.x series) and modules" short_desc="The Linux kernel (3.x series) and modules"
wrksrc="linux-${_kernel_ver}-${_kernel_patch_ver}" wrksrc="linux-${_kernel_ver}"
distfiles="http://www.kernel.org/pub/linux/kernel/v3.0/testing/linux-${_kernel_ver}-${_kernel_patch_ver}.tar.xz" distfiles="http://www.kernel.org/pub/linux/kernel/v3.0/linux-${_kernel_ver}.tar.xz"
checksum=5c914ac61668ee41dcfe06ba36a640cabc316bf86c858149f92e5cd45aa72537 checksum=dd96ed02b53fb5d57762e4b1f573460909de472ca588f81ec6660e4a172e7ba7
subpackages="$pkgname-headers" subpackages="$pkgname-headers"
noverifyrdeps=yes noverifyrdeps=yes

View File

@ -15,7 +15,11 @@ preserve=yes
#revision=1 #revision=1
_kernel_headers_revision=${revision} _kernel_headers_revision=${revision}
if [ -n "${_kernel_snapshot}" ]; then if [ -n "${_kernel_snapshot}" ]; then
_kernver="${_kernel_ver}.${_kernel_ver_minor}-${_kernel_patch_ver}" if [ -n "${_kernel_patch_ver}" ]; then
_kernver="${_kernel_ver}.${_kernel_ver_minor}-${_kernel_patch_ver}"
else
_kernver="${_kernel_ver}.${_kernel_ver_minor}"
fi
else else
_kernver="${version}" _kernver="${version}"
fi fi