linux4.14: update to 4.14.222

Convert template to base tarball + patch scheme.
This commit is contained in:
Jürgen Buchmüller 2021-03-02 13:41:11 +01:00
parent a0fc045527
commit 8b5bba401a

View file

@ -1,14 +1,17 @@
# Template file for 'linux4.14'
pkgname=linux4.14
version=4.14.221
version=4.14.222
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="http://www.kernel.org"
distfiles="https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-${version}.tar.xz"
checksum=ce2254075ff4846f13380c1cf4bec1e351e5996a7dd109c200e222e49fd2c7e9
distfiles="https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-${version%.*}.tar.xz
https://cdn.kernel.org/pub/linux/kernel/v4.x/patch-${version}.xz"
checksum="f81d59477e90a130857ce18dc02f4fbe5725854911db1e7ba770c7cd350f96a7
f6be478dbffdd153850aec45f198f236dbfeaf2f62138925793f9726dc442a28"
skip_extraction="patch-${version}.xz"
python_version=2 #unverified
patch_args="-Np1"
@ -19,7 +22,8 @@ noshlibprovides=yes
preserve=yes
archs="i686* x86_64* armv5tel* aarch64* ppc*"
hostmakedepends="bc elfutils-devel kmod libressl-devel perl uboot-mkimage gmp-devel libmpc-devel"
hostmakedepends="bc elfutils-devel kmod libressl-devel perl uboot-mkimage
gmp-devel libmpc-devel xz"
case "$XBPS_TARGET_MACHINE" in
ppc64le*) broken="No ppc64le support";;
@ -47,6 +51,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() {
# 4.14rc1 misses Documentation/DocBook. We ship the directory from 4.12 here.
cp -a $FILESDIR/DocBook -t Documentation