/[gentoo-x86]/sys-kernel/hppa-sources/hppa-sources-2.6.14.3_p0.ebuild
Gentoo

Contents of /sys-kernel/hppa-sources/hppa-sources-2.6.14.3_p0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Wed Jul 12 19:30:27 2006 UTC (12 years ago) by gustavoz
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Wicked cleanup
(Portage version: 2.1-r1)
 (Signed Manifest commit)

1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-kernel/hppa-sources/hppa-sources-2.6.14.3_p0.ebuild,v 1.1 2005/12/05 19:06:25 gmsoft Exp $
4
5 ETYPE="sources"
6
7 CKV="${PV/_*}"
8 K_NOUSENAME=true
9 inherit kernel-2
10
11 KV_FULL=${CKV}-pa${PATCH_LEVEL}
12 detect_version
13
14
15 DESCRIPTION="Full sources for the Linux kernel with patch for hppa"
16 PATCH_LEVEL="${PV/${CKV}_p/}"
17 SRC_URI="${KERNEL_URI}
18 http://ftp.parisc-linux.org/cvs/linux-2.6/patch-${OKV}-pa${PATCH_LEVEL}.gz
19 http://dev.gentoo.org/~dertobi123/hppa/4705_squashfs-2.1.patch.bz2"
20 UNIPATCH_LIST="${T}/patch-${OKV}-pa${PATCH_LEVEL}.patch
21 ${FILESDIR}/nbd-no-panic.diff
22 ${DISTDIR}/4705_squashfs-2.1.patch.bz2"
23 HOMEPAGE="http://www.kernel.org/ http://www.gentoo.org/ http://parisc-linux.org"
24 KEYWORDS="-* hppa"
25
26
27 src_unpack() {
28
29 if [[ -n ${KV_EXTRA} ]]
30 then
31
32 KV_EXTRA=".${KV_EXTRA}"
33
34 zcat ${DISTDIR}/patch-${OKV}-pa${PATCH_LEVEL}.gz | \
35 sed -e "/+EXTRAVERSION/s/=.*\$/=/" > \
36 ${T}/patch-${OKV}-pa${PATCH_LEVEL}.patch
37 else
38 zcat ${DISTDIR}/patch-${OKV}-pa${PATCH_LEVEL}.gz > \
39 ${T}/patch-${OKV}-pa${PATCH_LEVEL}.patch
40 fi
41
42 EXTRAVERSION=${KV_EXTRA}-pa${PATCH_LEVEL}
43
44 universal_unpack
45
46
47 # We force the order of patching. kernel-2.eclass does weird stuff
48 unipatch ${UNIPATCH_LIST}
49 unipatch ${UNIPATCH_LIST_DEFAULT}
50
51 unpack_set_extraversion
52 unpack_fix_docbook
53 unpack_fix_install_path
54
55 }

  ViewVC Help
Powered by ViewVC 1.1.20