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