blob: 0924ca4a0a0a4be3d83abd54abc4e1fca0d34fc7 [file] [log] [blame]
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
ARMV=${PV}-10
I486V=${PV}-5
DESCRIPTION="A cross-compilation toolkit designed to make embedded Linux application development easier"
HOMEPAGE="http://www.scratchbox.org/"
SRC_URI="http://scratchbox.org/download/files/sbox-releases/hathor/tarball/${PN/_/.}-armv7-${ARMV}-i386.tar.gz
http://scratchbox.org/download/files/sbox-releases/hathor/tarball/${PN/_/.}-i486-${I486V}-i386.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
# Stripping BREAKS scratchbox, it runs in a chroot and is pre-stripped when needed (bug #296294)
RESTRICT="strip"
DEPEND=""
RDEPEND="=dev-embedded/scratchbox-1.0*"
TARGET_DIR="/opt/scratchbox"
S=${WORKDIR}/scratchbox
src_install() {
dodir ${TARGET_DIR}
cp -pRP * "${D}/${TARGET_DIR}"
}