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

inherit flag-o-matic

DESCRIPTION="Utilities to set the ps3 specific features"
HOMEPAGE="http://www.playstation.com/ps3-openplatform/index.html"
SRC_URI="http://www.powerdeveloper.org/files/Cell/SourceCD/${P}.tar.bz2
		 http://dev.gentoo.org/~lu_zero/distfiles/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~ppc ~ppc64"
IUSE=""

# fixme: depend on a version of sys-kernel/linux-headers that supports ps3

DEPEND=""
RDEPEND=""

src_compile() {
	append-flags -I/usr/src/linux/include/
	emake CFLAGS="${CFLAGS}" || die "compile failed, do you have up to date kernel sources?"
}

src_install() {
	emake DESTDIR=${D} install || die "install failed"
}