summaryrefslogtreecommitdiff
path: root/dev-embedded/scratchbox-devkit-cputransp/scratchbox-devkit-cputransp-1.0.9.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-embedded/scratchbox-devkit-cputransp/scratchbox-devkit-cputransp-1.0.9.ebuild
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-embedded/scratchbox-devkit-cputransp/scratchbox-devkit-cputransp-1.0.9.ebuild')
-rw-r--r--dev-embedded/scratchbox-devkit-cputransp/scratchbox-devkit-cputransp-1.0.9.ebuild27
1 files changed, 27 insertions, 0 deletions
diff --git a/dev-embedded/scratchbox-devkit-cputransp/scratchbox-devkit-cputransp-1.0.9.ebuild b/dev-embedded/scratchbox-devkit-cputransp/scratchbox-devkit-cputransp-1.0.9.ebuild
new file mode 100644
index 000000000000..b67c8d9fa365
--- /dev/null
+++ b/dev-embedded/scratchbox-devkit-cputransp/scratchbox-devkit-cputransp-1.0.9.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+SBOX_GROUP="sbox"
+
+DESCRIPTION="A cross-compilation toolkit for embedded Linux application development"
+HOMEPAGE="http://www.scratchbox.org/"
+SRC_URI="http://scratchbox.org/download/files/sbox-releases/stable/tarball/${P}-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"
+
+RDEPEND="=dev-embedded/scratchbox-1.0*"
+RDEPEND=""
+
+TARGET_DIR="/opt/scratchbox"
+
+S=${WORKDIR}/scratchbox
+
+src_install() {
+ dodir ${TARGET_DIR}
+ cp -pRP * "${D}/${TARGET_DIR}"
+}