blob: 8ec3f0fbe82cbc217da35cba2a9d65508b21eeb1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# Submitted by Kerin Francis Millar (kerframil) and Lance Albertson (Ramereth)
OKV="2.4.20"
OKB="2.4"
EXTRAVERSION="-${PN%-*}-${PV/$OKV./}"
KV="${OKV}${EXTRAVERSION}"
S="${WORKDIR}/linux-${KV}"
WOLK_SRC="linux-${OKV}-wolk${PV/${OKV}./}-fullkernel.tar.bz2"
WOLK_DIR="linux-${OKV}-wolk${PV/${OKV}./}-fullkernel"
ETYPE="sources"
inherit kernel-2
RESTRICT="nomirror"
DESCRIPTION="Full sources for Marc-Christian Peterson's WOLK kernel, based on 2.4.20 vanilla with many popular patches and fixes"
HOMEPAGE="http://www.kernel.org/pub/linux/kernel/people/mcp/${OKB}-WOLK/"
SRC_URI="mirror://kernel/linux/kernel/people/mcp/${OKB}-WOLK/${WOLK_SRC}"
KEYWORDS="~x86"
K_EXTRAEINFO="If there are issues with this kernel, then please direct any queries to the
mailing list: http://sourceforge.net/mailarchive/forum.php?forum_id=8245.
Refer to the 2.4-WOLK-README file for further information. You will find
this file in the directory containing the sources."
#============================================================================
# We'll override the src_unpack() function from the eclass. This is necessary
# due to the inclusion of optional patches in the sources. These cannot be
# applied until after the initial base WOLK patch has been applied which is
# a problem, given that the eclass checks for the validity of any patches.
#============================================================================
src_unpack() {
cd ${WORKDIR}
unpack ${WOLK_SRC}
mv ${WOLK_DIR} linux-${KV} || die "Unable to move source tree to ${KV}."
cd ${S}
universal_unpack
unpack_set_extraversion
}
|