summaryrefslogtreecommitdiff
blob: cd9163ca0c7060cc76becb8951f8247e9a1edf24 (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
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

K_NOUSENAME="yes"
K_NOSETEXTRAVERSION="yes"
ETYPE="sources"
inherit kernel-2 eutils
detect_version

DESCRIPTION="Vanilla plus PS3 Patches and SquashFS"
HOMEPAGE=""
#PS3_PATCHES_URI="http://dev.gentoo.org/~ranger/downloads/ps3/${PV}-ps3updates.diff.bz2"
#SRC_URI="${KERNEL_URI} ${PS3_PATCHES_URI}"
SONY_URI="http://www.kernel.org/pub/linux/kernel/people/geoff/cell/CELL-Linux-CL_20071023-ADDON/src/linux-2.6.23-20071023.tar.bz2"

SRC_URI="${SONY_URI}"
K_USEPV="-20071023"
PF="linux-2.6.23-20071023"
LICENSE=""
SLOT="0"
KEYWORDS="~ppc ~ppc64"

src_unpack() {
	#kernel-2_src_unpack $PF
	unpack ${A}
	#epatch ${DISTDIR}/${PV}-ps3updates.diff.bz2
	epatch ${FILESDIR}/squashfs-3.2-r2.diff.bz2
}


pkg_postinst() {
	postinst_sources
}