summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Drake <dsd@gentoo.org>2004-11-25 23:30:52 +0000
committerDaniel Drake <dsd@gentoo.org>2004-11-25 23:30:52 +0000
commit8623bb28b5e71dc9682704f73e44a564db4f2194 (patch)
treede12dd144e7af4da2ee9221b3377941a2e8ca70d /sys-kernel/vanilla-sources/vanilla-sources-2.4.20.ebuild
parentVersion bump, acerhk-0.5.14 stable on x86 (Manifest recommit) (diff)
downloadgentoo-2-8623bb28b5e71dc9682704f73e44a564db4f2194.tar.gz
gentoo-2-8623bb28b5e71dc9682704f73e44a564db4f2194.tar.bz2
gentoo-2-8623bb28b5e71dc9682704f73e44a564db4f2194.zip
Convert to kernel-2.eclass
Diffstat (limited to 'sys-kernel/vanilla-sources/vanilla-sources-2.4.20.ebuild')
-rw-r--r--sys-kernel/vanilla-sources/vanilla-sources-2.4.20.ebuild33
1 files changed, 8 insertions, 25 deletions
diff --git a/sys-kernel/vanilla-sources/vanilla-sources-2.4.20.ebuild b/sys-kernel/vanilla-sources/vanilla-sources-2.4.20.ebuild
index fbb80719f4e5..ea3ad788f875 100644
--- a/sys-kernel/vanilla-sources/vanilla-sources-2.4.20.ebuild
+++ b/sys-kernel/vanilla-sources/vanilla-sources-2.4.20.ebuild
@@ -1,34 +1,17 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/vanilla-sources/vanilla-sources-2.4.20.ebuild,v 1.16 2004/07/15 05:28:49 agriffis Exp $
-#OKV=original kernel version, KV=patched kernel version. They can be the same.
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/vanilla-sources/vanilla-sources-2.4.20.ebuild,v 1.17 2004/11/25 23:30:52 dsd Exp $
+K_NOUSENAME="yes"
+K_NOSETEXTRAVERSION="yes"
ETYPE="sources"
-inherit kernel eutils
-
-OKV=2.4.20
-KV=2.4.20
-EXTRAVERSION=" "
-S=${WORKDIR}/linux-${KV}
-
-# What's in this kernel?
-
-# INCLUDED:
-# stock 2.4.20 kernel sources
+inherit kernel-2
DESCRIPTION="Full sources for the Linux kernel"
-SRC_URI="mirror://kernel/linux/kernel/v2.4/linux-${OKV}.tar.bz2"
-HOMEPAGE="http://www.kernel.org/ http://www.gentoo.org/"
+HOMEPAGE="http://www.kernel.org"
+SRC_URI="mirror://kernel/linux/kernel/v2.4/linux-${PV}.tar.bz2"
+
KEYWORDS="x86 -ppc sparc alpha"
IUSE=""
-SLOT="${KV}"
-
-src_unpack() {
- unpack linux-${OKV}.tar.bz2
-
- cd ${S}
-
- epatch ${FILESDIR}/do_brk_fix.patch || die "failed to patch for do_brk vuln"
- kernel_universal_unpack
-}
+UNIPATCH_LIST="${FILESDIR}/do_brk_fix.patch"