/[gentoo-x86]/sys-kernel/hppa-sources/hppa-sources-2.6.16.22_p11.ebuild
Gentoo

Contents of /sys-kernel/hppa-sources/hppa-sources-2.6.16.22_p11.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, 2 months 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-2006 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.16.22_p11.ebuild,v 1.1 2006/06/30 19:18:23 gustavoz 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 mirror://gentoo/4300_squashfs-3.0.patch.bz2"
20 UNIPATCH_LIST="${T}/patch-${OKV}-pa${PATCH_LEVEL}.patch
21 ${DISTDIR}/4300_squashfs-3.0.patch.bz2"
22 HOMEPAGE="http://www.kernel.org/ http://www.gentoo.org/ http://parisc-linux.org"
23 KEYWORDS="-* ~hppa"
24
25
26 src_unpack() {
27
28 if [[ -n ${KV_EXTRA} ]]
29 then
30
31 KV_EXTRA=".${KV_EXTRA}"
32
33 zcat ${DISTDIR}/patch-${OKV}-pa${PATCH_LEVEL}.gz | \
34 sed -e "/+EXTRAVERSION/s/=.*\$/=/" > \
35 ${T}/patch-${OKV}-pa${PATCH_LEVEL}.patch
36 else
37 zcat ${DISTDIR}/patch-${OKV}-pa${PATCH_LEVEL}.gz > \
38 ${T}/patch-${OKV}-pa${PATCH_LEVEL}.patch
39 fi
40
41 EXTRAVERSION=${KV_EXTRA}-pa${PATCH_LEVEL}
42
43 universal_unpack
44
45
46 # We force the order of patching. kernel-2.eclass does weird stuff
47 unipatch ${UNIPATCH_LIST}
48 unipatch ${UNIPATCH_LIST_DEFAULT}
49
50 unpack_set_extraversion
51 unpack_fix_docbook
52 unpack_fix_install_path
53
54 }

  ViewVC Help
Powered by ViewVC 1.1.20