blob: e021ded2c61a2a9def75343cf3349b4971bb8e26 (
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
44
45
46
47
48
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-kernel/redhat-sources/redhat-sources-2.4.18.24.8.0.ebuild,v 1.3 2003/10/03 22:31:07 plasmaroo Exp $
#OKV=original kernel version, KV=patched kernel version. They can be the same.
ETYPE="sources"
inherit kernel rpm
OKV=2.4.18
KV=2.4.18-24.8.0
EXTRAVERSION="-24.8.0-rhcustom"
S=${WORKDIR}/linux-${KV}
# This package contains the Linux Kernel source for the version of the
# Linux Kernel shipped by Red Hat, Inc. as part of their 8.0 distribution.
#
# Do not report problems with this source package or the resulting compiled
# compiled kernel to Red Hat, Inc. Red Hat is not responsible for this
# package and has offered no warranties or promises that the kernels
# resulting from the compilation of this package will work on anything
# except specific versions of the Red Hat distribution and specific
# compiler revisions.
#
# Gentoo provides this package without any guarantees that this kernel
# will compile and run correctly and will only respond to bug reports
# dealing with Gentoo specific packaging problems.
RH_DISTRO_VER="8.0"
# The easiest way to grab Red Hat kernel sources is from the rpm file
# itself. We used to generate a patch against vanilla sources trees but
# the added dependency of rpm2targz is minimal compared with having to
# generate a new diff for every minor version update. (Also not to many
# people have 2.4.18 vanilla source tarballs floating around these days)
DESCRIPTION="Kernel source tree used in Red Hat distributions (not supported by Red Hat)"
SRC_URI="http://mirrors.kernel.org/redhat/redhat/linux/updates/8.0/en/os/i386/kernel-source-${KV}.i386.rpm"
HOMEPAGE="http://www.kernel.org/ http://www.redhat.com/"
KEYWORDS="~x86"
SLOT="${KV}"
src_unpack() {
rpm_unpack ${DISTDIR}/kernel-source-${KV}.i386.rpm
cd ${WORKDIR}
mv usr/src/linux-${KV} ${WORKDIR}
cd ${S}
kernel_universal_unpack
}
|