mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-11 09:33:50 +02:00
linux4.4: update to 4.4.258
Convert template to base tarball + patch scheme.
This commit is contained in:
parent
716e9631f7
commit
865f22c287
1 changed files with 12 additions and 5 deletions
|
@ -1,14 +1,17 @@
|
|||
# Template file for 'linux4.4'
|
||||
pkgname=linux4.4
|
||||
version=4.4.257
|
||||
version=4.4.258
|
||||
revision=1
|
||||
wrksrc="linux-${version}"
|
||||
wrksrc="linux-${version%.*}"
|
||||
short_desc="Linux kernel and modules (${version%.*} series)"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
license="GPL-2.0-only"
|
||||
homepage="https://www.kernel.org"
|
||||
distfiles="${KERNEL_SITE}/kernel/v4.x/linux-${version}.tar.xz"
|
||||
checksum=3e067c5625b6a1201325c45c9b9e75f87e768cfbb9426f5f173dee73dc234b5a
|
||||
distfiles="${KERNEL_SITE}/kernel/v4.x/linux-${version%.*}.tar.xz
|
||||
${KERNEL_SITE}/kernel/v4.x/patch-${version}.xz"
|
||||
checksum="401d7c8fef594999a460d10c72c5a94e9c2e1022f16795ec51746b0d165418b2
|
||||
91504bd4be27cc24aebcbe1d7ddf5c89a7314c1d730da047ef02c46ef15c3cbd"
|
||||
skip_extraction="patch-${version}.xz"
|
||||
python_version=2 #unverified
|
||||
|
||||
nocross=yes
|
||||
|
@ -19,7 +22,7 @@ noshlibprovides=yes
|
|||
preserve=yes
|
||||
|
||||
archs="i686* x86_64* ppc*"
|
||||
hostmakedepends="bc perl kmod uboot-mkimage libressl-devel"
|
||||
hostmakedepends="bc perl kmod uboot-mkimage libressl-devel xz"
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
ppc64le*) broken="No ppc64le support";;
|
||||
|
@ -46,6 +49,10 @@ export KBUILD_BUILD_TIMESTAMP=${SOURCE_DATE_EPOCH:-0}
|
|||
export KBUILD_BUILD_USER=voidlinux
|
||||
export KBUILD_BUILD_HOST=voidlinux
|
||||
|
||||
pre_patch() {
|
||||
xzcat $XBPS_SRCDISTDIR/$pkgname-$version/patch-${version}.xz | patch -Np1
|
||||
}
|
||||
|
||||
do_configure() {
|
||||
# If there's a file called <arch>-dotconfig, use it to
|
||||
# configure the kernel; otherwise use arch defaults and all stuff
|
||||
|
|
Loading…
Add table
Reference in a new issue