From 4e4cc85ab121773690a34106e44b8e88dfd87447 Mon Sep 17 00:00:00 2001 From: Palmer Dabbelt Date: Tue, 24 Apr 2018 11:58:03 -0700 Subject: Add Zephyr SDK binaries --- sys-devel/zephyr-sdk-bin/Manifest | 2 ++ .../zephyr-sdk-bin/zephyr-sdk-bin-0.9.2.ebuild | 34 ++++++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 sys-devel/zephyr-sdk-bin/Manifest create mode 100644 sys-devel/zephyr-sdk-bin/zephyr-sdk-bin-0.9.2.ebuild (limited to 'sys-devel') 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 +} -- cgit v1.2.3-65-gdbad