summaryrefslogtreecommitdiff
blob: c5a45d92d98e0271670e293372a63d62a6cc45db (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-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/ps3pf_utils/ps3pf_utils-2.3.ebuild,v 1.1 2008/11/03 20:26:23 lu_zero Exp $

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.kernel.org/pub/linux/kernel/people/geoff/cell/ps3-utils/ps3-utils-${PV}.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=""

S=${WORKDIR}/ps3-utils-${PV}/
src_compile() {
	econf || die "Could not configure"
	emake || die "compile failed, do you have up to date kernel sources?"
}

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