rand/sys-kernel/decade-sources/decade-sources-5.14.6.ebuild
2021-09-21 09:44:31 +02:00

25 lines
517 B
Bash

# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
ETYPE="sources"
inherit kernel-2
detect_version
detect_arch
KEYWORDS=""
HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches"
DESCRIPTION="Full sources for the Linux ${KV_MAJOR}.${KV_MINOR} kernel tree."
SRC_URI="${KERNEL_URI}"
DECADE_PATCHES=( ${FILESDIR}/patches-${KV_MAJOR}.${KV_MINOR}/*.patch )
src_prepare() {
for P in ${DECADE_PATCHES[@]}; do
eapply "${P}"
done
kernel-2_src_prepare
}