e5270c13a014b4dec6e2a4d0c1a7e806c0cab36c
[gentoo.git] /
1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Id$
4
5 SBOX_GROUP="sbox"
6
7 ARMV=${PV}-2
8 I486V=1.0.12-9
9
10 DESCRIPTION="A cross-compilation toolkit designed to make embedded Linux application development easier"
11 HOMEPAGE="http://www.scratchbox.org/"
12 SRC_URI="http://scratchbox.org/download/files/sbox-releases/stable/tarball/${PN/_/.}-arm7-${ARMV}-i386.tar.gz
13         http://scratchbox.org/download/files/sbox-releases/stable/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 binchecks"
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 }