* [gentoo-commits] proj/sci:master commit in: dev-util/emscripten-fastcomp/
@ 2015-10-29 13:45 Justin Lecher
0 siblings, 0 replies; only message in thread
From: Justin Lecher @ 2015-10-29 13:45 UTC (permalink / raw
To: gentoo-commits
commit: 7c5ed15205eecd3605f9232388e1831550195e60
Author: Harald Weiner <harald.weiner <AT> jku <DOT> at>
AuthorDate: Wed Oct 28 19:20:34 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Wed Oct 28 19:20:34 2015 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=7c5ed152
added emscripten-fastcomp-1.35.2
.../emscripten-fastcomp-1.35.2.ebuild | 40 ++++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/dev-util/emscripten-fastcomp/emscripten-fastcomp-1.35.2.ebuild b/dev-util/emscripten-fastcomp/emscripten-fastcomp-1.35.2.ebuild
new file mode 100644
index 0000000..9469880
--- /dev/null
+++ b/dev-util/emscripten-fastcomp/emscripten-fastcomp-1.35.2.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit cmake-utils python-single-r1
+
+DESCRIPTION="Emscripten LLVM backend - Fastcomp is the default compiler core for Emscripten"
+HOMEPAGE="http://emscripten.org/"
+SRC_URI="https://github.com/kripken/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
+ https://github.com/kripken/${PN}-clang/archive/${PV}.tar.gz -> ${PN}-clang-${PV}.tar.gz"
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+LICENSE="UoI-NCSA"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="${PYTHON_DEPS}
+ net-libs/nodejs"
+RDEPEND="${DEPEND}
+ >=virtual/jre-1.5"
+
+src_configure() {
+ # create symlink to tools/clang
+ ln -s "${WORKDIR}/${PN}-clang-${PV}/" "${WORKDIR}/${P}/tools/clang" \
+ || die "Could not create symlink to tools/clang"
+ local mycmakeargs=(
+ # avoid clashes with sys-devel/llvm
+ -DCMAKE_INSTALL_PREFIX="/usr/share/${P}"
+ -DLLVM_TARGETS_TO_BUILD="X86;JSBackend"
+ -DLLVM_INCLUDE_EXAMPLES=OFF
+ -DLLVM_INCLUDE_TESTS=OFF
+ -DCLANG_INCLUDE_EXAMPLES=OFF
+ -DCLANG_INCLUDE_TESTS=OFF
+ )
+ cmake-utils_src_configure
+}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2015-10-29 13:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-29 13:45 [gentoo-commits] proj/sci:master commit in: dev-util/emscripten-fastcomp/ Justin Lecher
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox