07b17d38135718eab2bd0cbe170a0ff792fd53ad
[gentoo.git] /
1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Id$
4
5 ARMHARDV="hard-${PV}-4"
6 ARMSOFTV="soft-${PV}-5"
7 I486V="1.0.17-3"
8
9 DESCRIPTION="A cross-compilation toolkit designed to make embedded Linux application development easier"
10 HOMEPAGE="http://www.scratchbox.org/"
11 SRC_URI="http://scratchbox.org/download/files/sbox-releases/hathor/tarball/${PN/_/.}-armv7-${ARMHARDV}-i386.tar.gz
12         http://scratchbox.org/download/files/sbox-releases/hathor/tarball/${PN/_/.}-armv7-${ARMSOFTV}-i386.tar.gz
13         http://scratchbox.org/download/files/sbox-releases/hathor/tarball/${PN/_/.}-i486-${I486V}-i386.tar.gz"
14 LICENSE="GPL-2"
15 SLOT="0"
16 KEYWORDS="~amd64 ~x86"
17 IUSE=""
18
19 # Stripping BREAKS scratchbox, it runs in a chroot and is pre-stripped when needed (bug #296294)
20 RESTRICT="strip"
21
22 DEPEND=""
23 RDEPEND="=dev-embedded/scratchbox-1.0*"
24
25 TARGET_DIR="/opt/scratchbox"
26
27 S=${WORKDIR}/scratchbox
28
29 src_install() {
30         dodir ${TARGET_DIR}
31         cp -pRP * "${D}/${TARGET_DIR}"
32 }