# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="Full sources for the Linux kernel with Con Kolivas' high performance patchset and Gentoo's basic patchset." HOMEPAGE="http://members.optusnet.com.au/ckolivas/kernel/" LICENSE="GPLv2" SLOT="0" KEYWORDS="~amd64 ~x86" #IUSE="ck-server" K_NOUSENAME="yes" K_WANT_GENPATCHES="base" K_GENPATCHES_VER="2" UNIPATCH_STRICTORDER="1" ETYPE="sources" inherit kernel-2 detect_version detect_arch # A few hacks to set ck version via _p instead of -r MY_PR=${PR/r/-r} MY_PR=${MY_PR/-r0/} EXTRAVERSION=-ck${PV/*_p/}${MY_PR} KV_FULL=${OKV}${EXTRAVERSION} KV_CK=${KV_FULL/-r*/} CKPATCH="patch-${KV_CK}.bz2" SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} mirror://kernel/linux/kernel/people/ck/patches/2.6/${OKV}/${KV_CK}/${CKPATCH}" UNIPATCH_LIST="${DISTDIR}/${CKPATCH}" ## I'm not sure if this note should still be used here. # Note: 2.6.x.y updates in genpatches begin with 10 but are included in -ck #UNIPATCH_EXCLUDE="${UNIPATCH_EXCLUDE}" pkg_postinst() { postinst_sources einfo "The ck patchset is tuned for desktop usage." einfo "The 'ck-server' USE flag is not available anymore." }