1 # Copyright 1999-2017 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
8 HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches"
9 DESCRIPTION="Gentoo CDN Kernel"
12 [ "${PR}" = "r0" ] && MY_PR="" || MY_PR="${PR}"
13 SRC_URI="https://pkg.cyberleo.net/distfiles/linux-${PV}-gentoo-cdn${MY_PR:+-${MY_PR}}.txz"
19 DEPEND="=sys-kernel/gentoo-sources-${PV}"
23 mv "${WORKDIR}/image" "${S}"
29 if ! use firmware; then
30 rm -r "${S}/lib/firmware"
33 xz -9e "${S}/lib/kernel/"{config,System.map}-*