/[gentoo-x86]/sys-kernel/hppa-sources/hppa-sources-2.4.20_p32.ebuild
Gentoo

Contents of /sys-kernel/hppa-sources/hppa-sources-2.4.20_p32.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sat Aug 2 07:51:26 2003 UTC (14 years, 2 months ago) by gmsoft
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Version bump. Marked stable. Removed old versions. Updated SRC_URI.

1 # Copyright 1999-2003 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /home/cvsroot/gentoo-x86/sys-kernel/hppa-sources/hppa-sources-2.4.20_p32.ebuild,v 1.1 2003/04/09 00:28:43 gmsoft Exp $
4 #OKV=original kernel version, KV=patched kernel version. They can be the same.
5
6 ETYPE="sources"
7 inherit kernel
8 OKV="${PV/_p*/}"
9 PATCH_LEVEL="${PV/${OKV}_p/}"
10 KV=${OKV}-pa${PATCH_LEVEL}
11 EXTRAVERSION="-pa${PATCH_LEVEL}"
12 S=${WORKDIR}/linux-${KV}
13
14 # What's in this kernel?
15
16 # INCLUDED:
17 # stock 2.4.20 kernel sources
18 # patches for hppa
19
20 DESCRIPTION="Full sources for the Linux kernel with patch for hppa"
21 SRC_URI="http://www.kernel.org/pub/linux/kernel/v2.4/linux-${OKV}.tar.bz2 http://ftp.parisc-linux.org/cvs/patch-${KV}.diff.gz"
22 HOMEPAGE="http://www.kernel.org/ http://www.gentoo.org/ http://parisc-linux.org"
23 KEYWORDS="hppa -*"
24 SLOT="${KV}"
25
26
27 src_unpack() {
28 unpack linux-${OKV}.tar.bz2
29 mv ${WORKDIR}/linux-${OKV} ${WORKDIR}/linux-${KV}
30 cd ${S}
31 unpack patch-${KV}.diff.gz
32 patch -p 1 < ${S}/patch-${KV}.diff
33
34
35 kernel_universal_unpack
36 }

  ViewVC Help
Powered by ViewVC 1.1.20