# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /home/cvsroot/gentoo-x86/sys-kernel/vanilla-sources/vanilla-sources-2.4.25.ebuild,v 1.1 2004/02/18 15:18:23 plasmaroo Exp $ #OKV=original kernel version, KV=patched kernel version. They can be the same. ETYPE="sources" inherit kernel ECVS_AUTH="pserver" ECVS_SERVER="cvs.xbox-linux.sourceforge.net:/cvsroot/xbox-linux" ECVS_MODULE="kernel" ECVS_USER="anonymous" ECVS_PASS="" inherit cvs OKV=2.4.25 [ "${PR}" == "r0" ] && KV=${OKV}-xbox || KV=${OKV}-xbox-${PR} S=${WORKDIR}/linux-${PV} # What's in this kernel? # INCLUDED: # stock 2.4.25 kernel sources # xbox-linux cvs patch DESCRIPTION="Linux kernel patched with xbox-linux CVS sources" SRC_URI="mirror://kernel/linux/kernel/v2.4/linux-${PV}.tar.bz2" HOMEPAGE="http://xbox-linux.sourceforge.net" KEYWORDS="x86 -ppc -sparc -alpha -amd64" SLOT="${KV}" src_unpack() { cvs_src_unpack cd ${WORKDIR} unpack linux-${PV}.tar.bz2 cp -ar ${WORKDIR}/kernel/* ${S} } src_compile() { ewarn "Nothing to compile. That's up to the user" } src_install() { mkdir -p ${D}/usr/src/ mv ${S} ${D}/usr/src/linux-cvs-${KV} }