From 64ca40329369189cd0f30362269a28cfd876a3fb Mon Sep 17 00:00:00 2001 From: Augustin Cavalier Date: Sun, 25 Jan 2015 12:56:08 -0500 Subject: [PATCH] julia: preliminary recipe. Doesn't work due to OpenLibM requiring which we don't have, but it's a starting point so I figured I'd push it. --- dev-lang/julia/julia-0.3.5.recipe | 76 +++++++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 dev-lang/julia/julia-0.3.5.recipe diff --git a/dev-lang/julia/julia-0.3.5.recipe b/dev-lang/julia/julia-0.3.5.recipe new file mode 100644 index 000000000..5c4bd882e --- /dev/null +++ b/dev-lang/julia/julia-0.3.5.recipe @@ -0,0 +1,76 @@ +SUMMARY="Programming language designed for technical computing" +DESCRIPTION="Julia is a high-level, high-performance dynamic programming \ +language for technical computing, with syntax that is familiar to users of \ +other technical computing environments. It provides a sophisticated compiler, \ +distributed parallel execution, numerical accuracy, and an extensive \ +mathematical function library. The library, largely written in Julia itself, \ +also integrates mature, best-of-breed C and Fortran libraries for linear \ +algebra, random number generation, signal processing, and string processing. \ +In addition, the Julia developer community is contributing a number of \ +external packages through Julia’s built-in package manager at a rapid pace." +HOMEPAGE="http://julialang.org/" +SRC_URI="https://github.com/JuliaLang/julia/releases/download/v0.3.5/julia-0.3.5_a05f87b79a.tar.gz" +CHECKSUM_SHA256="8f77b708ede7f095cdbea439b5aa43849c658a2c242811fb128841bb5e84b6e5" +SOURCE_DIR="julia-0.3" +REVISION="1" +LICENSE="MIT" +COPYRIGHT="2009-2014 Jeff Bezanson et al." + +# Currently broken on all architectures, due to openlibm needing +# which we do not have. +ARCHITECTURES="!x86 !x86_64" +#if [ $effectiveTargetArchitecture != x86_gcc2 ]; then +# # x86_gcc2 is fine as primary target architecture as long as we're building +# # for a different secondary architecture. +# ARCHITECTURES="$ARCHITECTURES x86_gcc2" +#else +# ARCHITECTURES="$ARCHITECTURES !x86_gcc2" +#fi +#SECONDARY_ARCHITECTURES="x86" + +PROVIDES=" + julia$secondaryArchSuffix = $portVersion + " +REQUIRES=" + haiku$secondaryArchSuffix + lib:libuv$secondaryArchSuffix + lib:libpcre$secondaryArchSuffix + lib:libgmp$secondaryArchSuffix + " + +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel + devel:libuv$secondaryArchSuffix + devel:libpcre$secondaryArchSuffix + devel:libgmp$secondaryArchSuffix + " +BUILD_PREREQUIRES=" + cmd:g++$secondaryArchSuffix + cmd:make + cmd:perl + cmd:git + cmd:m4 + cmd:patch + cmd:cmake + cmd:tar + cmd:which + " + +makeJulia() +{ + make USE_SYSTEM_LIBUV=1 \ + USE_SYSTEM_PCRE=1 \ + USE_SYSTEM_GMP=1 \ + "$@" +} + +BUILD() +{ + makeJulia $jobArgs +} + +INSTALL() +{ + # todo + exit 1 +}