blob: e52c778d18b86a767861362bfead779045e6d72c (
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
42
43
|
# 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-2009.1.1_rc2.ebuild,v 1.1 2009/12/30 04:49:52 vapier Exp $
# this should skip pointless scanelf checks on the target libs
CTARGET="bfin"
inherit rpm
DESCRIPTION="toolchain for Blackfin processors"
HOMEPAGE="http://blackfin.uclinux.org/"
FRS_ID="470"
BASE_URI="http://blackfin.uclinux.org/gf/download/frsrelease/${FRS_ID}"
MY_PN="blackfin-toolchain"
MY_PV=${PV#20}
MY_PV=${MY_PV/./r}
MY_PV=${MY_PV/_rc/-}
src_uri() {
local arch=$1
echo ${BASE_URI}/$2/${MY_PN}-${MY_PV}.${arch}.tar.bz2
echo ${BASE_URI}/$3/${MY_PN}-elf-gcc-4.1-${MY_PV}.${arch}.tar.bz2
echo ${BASE_URI}/$4/${MY_PN}-uclibc-default-${MY_PV}.${arch}.tar.bz2
echo ${BASE_URI}/$5/blackfin-jtag-tools-${MY_PV}.${arch}.tar.bz2
}
SRC_URI="
amd64? ( $(src_uri x86_64 7330 7332 7338 7328) )
x86? ( $(src_uri i386 7316 7317 7320 7315) )
"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RESTRICT="strip"
DEPEND=""
RDEPEND="=sys-libs/readline-5*"
S=${WORKDIR}
src_install() {
mv "${S}"/opt "${D}"/ || die
}
|