/[gentoo-x86]/sys-libs/mars/mars-1.0.1.ebuild
Gentoo

Contents of /sys-libs/mars/mars-1.0.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Fri Nov 14 12:06:05 2008 UTC (6 years, 8 months ago) by lu_zero
Branch: MAIN
CVS Tags: HEAD
New version
(Portage version: 2.2_rc13/cvs/Linux 2.6.24-rc5-g31034440 ppc64)

1 # Copyright 1999-2008 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-libs/mars/mars-08.06.26.ebuild,v 1.1 2008/08/23 13:27:42 lu_zero Exp $
4
5 inherit autotools
6
7 MY_P=${P/mars/mars-src}
8
9 DESCRIPTION="Multicore Application Runtime System"
10 HOMEPAGE="ftp://ftp.infradead.org/pub/Sony-PS3/mars/"
11 SRC_URI="ftp://ftp.infradead.org/pub/Sony-PS3/mars/1.0.1/${MY_P}.tar.gz"
12
13 LICENSE="MIT_Plus MIT"
14 SLOT="0"
15 KEYWORDS="~ppc64"
16 IUSE=""
17
18 DEPEND="sys-libs/libspe2"
19 RDEPEND="${DEPEND}"
20
21 S="${WORKDIR}/${MY_P}/core"
22
23 src_unpack () {
24 unpack ${A}
25 cd "${S}"
26 # repeat after me: "dummy tuples are bogus"
27 sed -i -e "s:/spu:/spu-elf:" \
28 -e "s:--host=spu:--host=spu-elf:" configure.ac
29 eautoreconf
30 }
31
32 src_compile () {
33 unset CFLAGS
34 unset CXXFLAGS
35 unset CFLAGS_ppc64
36 econf --with-mars-platform=cell || die
37 emake || die
38 }
39
40 src_install () {
41 emake -j1 DESTDIR="${D}" install
42 }

  ViewVC Help
Powered by ViewVC 1.1.20