summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPalmer Dabbelt <palmer@dabbelt.com>2018-04-24 11:58:03 -0700
committerPalmer Dabbelt <palmer@dabbelt.com>2018-04-24 12:54:55 -0700
commit4e4cc85ab121773690a34106e44b8e88dfd87447 (patch)
treea4c41507b1e18d61607c415c33063ed0ad3d73ac /sys-devel
parentAdd a Zoom package (diff)
downloadpalmer-4e4cc85ab121773690a34106e44b8e88dfd87447.tar.gz
palmer-4e4cc85ab121773690a34106e44b8e88dfd87447.tar.bz2
palmer-4e4cc85ab121773690a34106e44b8e88dfd87447.zip
Add Zephyr SDK binaries
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/zephyr-sdk-bin/Manifest2
-rw-r--r--sys-devel/zephyr-sdk-bin/zephyr-sdk-bin-0.9.2.ebuild34
2 files changed, 36 insertions, 0 deletions
diff --git a/sys-devel/zephyr-sdk-bin/Manifest b/sys-devel/zephyr-sdk-bin/Manifest
new file mode 100644
index 0000000..c74483c
--- /dev/null
+++ b/sys-devel/zephyr-sdk-bin/Manifest
@@ -0,0 +1,2 @@
+DIST zephyr-sdk-0.9.2-setup.run 306443949 BLAKE2B fc5dd3edc9c80f267a00fbcbbbfd54ae04a73600a89d258bd945fa18d17e62619308eddeb91bbe70a4f5fdefb8c68da9439128c12bcdd9f06cebfe001eea9aac SHA512 f793dba88938b5cbe0b7a4556616430594080751cb6cf4fcce5129434e3e5ca849f42b052ca847f05e63b6df9712d3d427b040742d964ab5e6d3b32a86fa36f8
+EBUILD zephyr-sdk-bin-0.9.2.ebuild 576 BLAKE2B fa33deabe8954ba8b62aa515c2f8915ca02255fe81be664f799f9f81257b99699b8a82098d8279d0d6319e17dd254d368d02d658eff55d9df01889a8cecdf6b0 SHA512 f77771aa7559e62f679ba52209c63c909422c666e1e2a608a3f209b946601f5728ec70d2c0063551399addf53dd17259a596f477a2be333dc1903a2396e90fca
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
+}