summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-devel/zephyr-sdk-bin/zephyr-sdk-bin-0.9.2.ebuild')
-rw-r--r--sys-devel/zephyr-sdk-bin/zephyr-sdk-bin-0.9.2.ebuild34
1 files changed, 34 insertions, 0 deletions
diff --git a/sys-devel/zephyr-sdk-bin/zephyr-sdk-bin-0.9.2.ebuild b/sys-devel/zephyr-sdk-bin/zephyr-sdk-bin-0.9.2.ebuild
new file mode 100644
index 0000000..4b7533a
--- /dev/null
+++ b/sys-devel/zephyr-sdk-bin/zephyr-sdk-bin-0.9.2.ebuild
@@ -0,0 +1,34 @@
+EAPI=5
+inherit eutils
+
+DESCRIPTION="Zephyr Binary SDK"
+HOMEPAGE="http://docs.zephyrproject.org/getting_started/installation_linux.html"
+SRC_URI="https://github.com/zephyrproject-rtos/meta-zephyr-sdk/releases/download/${PV}/zephyr-sdk-${PV}-setup.run"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 amd64-linux"
+IUSE=""
+
+RDEPEND=""
+
+DEPEND="${RDEPEND}"
+
+src_unpack() {
+ cd "${DISTDIR}"
+ mkdir -p "${S}"
+ cp "${A}" "${S}"
+}
+
+src_configure() {
+ chmod +x "${A}"
+}
+
+src_compile() {
+ :;
+}
+
+src_install() {
+ echo "${ED}/opt/zephyr-sdk" | bash "${A}"
+ chmod -R -x+X ${ED}/opt/zephyr-sdk
+}