summaryrefslogtreecommitdiff
blob: 8f2bf43c18f3d3817ccd52e317ac7bbdaf67b12f (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
36
37
38
39
40
41
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-devel/bfin-toolchain/bfin-toolchain-2008.1_rc8.ebuild,v 1.3 2009/12/30 04:46:44 vapier Exp $

DESCRIPTION="toolchain for Blackfin processors"
HOMEPAGE="http://blackfin.uclinux.org/"
BASE_URI="http://blackfin.uclinux.org/gf/download/frsrelease/375"
SRC_URI="
	amd64? (
		${BASE_URI}/4308/blackfin-toolchain-08r1-8.x86_64.tar.gz
		${BASE_URI}/4312/blackfin-toolchain-elf-gcc-4.1-08r1-8.x86_64.tar.gz
		${BASE_URI}/4307/blackfin-toolchain-uclibc-default-08r1-8.x86_64.tar.gz
	)
	ia64? (
		${BASE_URI}/4265/blackfin-toolchain-08r1-8.ia64.tar.gz
		${BASE_URI}/4267/blackfin-toolchain-elf-gcc-4.1-08r1-8.ia64.tar.gz
		${BASE_URI}/4261/blackfin-toolchain-uclibc-default-08r1-8.ia64.tar.gz
	)
	ppc? (
		${BASE_URI}/4269/blackfin-toolchain-08r1-8.ppc.tar.gz
		${BASE_URI}/4284/blackfin-toolchain-elf-gcc-4.1-08r1-8.ppc.tar.gz
		${BASE_URI}/4288/blackfin-toolchain-uclibc-default-08r1-8.ppc.tar.gz
	)
	x86? (
		${BASE_URI}/4037/blackfin-toolchain-08r1-8.i386.tar.gz
		${BASE_URI}/4042/blackfin-toolchain-elf-gcc-4.1-08r1-8.i386.tar.gz
		${BASE_URI}/4041/blackfin-toolchain-uclibc-default-08r1-8.i386.tar.gz
	)
"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ia64 ppc x86"
IUSE=""
RESTRICT="strip"

S=${WORKDIR}

src_install() {
	mv "${S}"/opt "${D}"/ || die
}