src_prepare-overlay/sys-kernel/xanmod-sources/xanmod-sources-5.9.0.ebuild
Andreas Westman Dorcsak f69bc567e0
sys-kernel/xanmod-sources: bump to 5.9.0
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Andreas Westman Dorcsak <hedmoo@yahoo.com>
2020-10-17 07:04:43 +02:00

32 lines
869 B
Bash

# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
K_WANT_GENPATCHES="base extras"
K_GENPATCHES_VER="1"
K_SECURITY_UNSUPPORTED="1"
K_NOSETEXTRAVERSION="1"
XANMOD_VERSION="1"
ETYPE="sources"
inherit kernel-2-src-prepare-overlay
detect_version
DESCRIPTION="Full XanMod sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree"
HOMEPAGE="https://xanmod.org"
LICENSE+=" CDDL"
SRC_URI="${KERNEL_BASE_URI}/linux-${KV_MAJOR}.${KV_MINOR}.tar.xz https://github.com/xanmod/linux/releases/download/${OKV}-xanmod${XANMOD_VERSION}/patch-${OKV}-xanmod${XANMOD_VERSION}.xz ${GENPATCHES_URI}"
UNIPATCH_LIST_DEFAULT=""
UNIPATCH_LIST="${DISTDIR}/patch-${OKV}-xanmod${XANMOD_VERSION}.xz"
KEYWORDS="~amd64"
src_prepare() {
kernel-2-src-prepare-overlay_src_prepare
rm "${S}"/.config || die
}