Testing ======= qemux86 image was created including the interactive shell (fsharpi) and the compiler (fsharpc) which could both be executed
Examples from the Wikipiedia page were successfully compiled and executed with mono, including Hello World, Windows Forms, and Asynchronous Parallel Programming @see: http://en.wikipedia.org/wiki/F_Sharp_(programming_language) Signed-off-by: Alex J Lennon <[email protected]> --- recipes-mono/fsharp/fsharp.inc | 43 +++++++++++++++++++++++++++++++++ recipes-mono/fsharp/fsharp_3.1.1.1.bb | 7 ++++++ 2 files changed, 50 insertions(+) create mode 100644 recipes-mono/fsharp/fsharp.inc create mode 100644 recipes-mono/fsharp/fsharp_3.1.1.1.bb diff --git a/recipes-mono/fsharp/fsharp.inc b/recipes-mono/fsharp/fsharp.inc new file mode 100644 index 0000000..569f9ab --- /dev/null +++ b/recipes-mono/fsharp/fsharp.inc @@ -0,0 +1,43 @@ +SUMMARY = "F# programming language" +DESCRIPTION = "F# is a strongly-typed, functional-first programming language for writing simple code to solve complex problems." +SECTION = "devel/mono" +DEPENDS = "mono" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "files://LICENSE;md5=512efb9375da0bd2fee9e2b9352c08af" + +inherit autotools + +# For some reason the URL template changes from version to version, +# therefore use some variables for the directory and extension +SRC_URI = "https://github.com/fsharp/fsharp/archive/${PV}.tar.gz" + +# AJL - Could split out mdb debugging files into -dbg package in future? +FILES_${PN} += "\ + ${libdir}/mono/* \ + ${libdir}/mono/xbuild/Microsoft/VisualStudio/* \ + ${libdir}/mono/Microsoft F#/v4.0/* \ + ${libdir}/mono/Microsoft SDKs/F#/3.0/* \ + ${libdir}/mono/Microsoft SDKs/F#/3.1/* \ + ${libdir}/mono/2.0/* \ + ${libdir}/lib/mono/gac/* \ + ${libdir}/mono/gac/FSharp.Compiler.Interactive.Settings/4.3.1.0__f536804aa0eb945b/* \ + ${libdir}/mono/gac/FSharp.Compiler.Server.Shared/4.3.1.0__f536804aa0eb945b/* \ + ${libdir}/mono/gac/FSharp.Data.TypeProviders/4.3.1.0__f536804aa0eb945b/* \ + ${libdir}/mono/gac/policy.2.3.FSharp.Core/0.0.0.0__b03f5f7f11d50a3a/* \ + ${libdir}/mono/gac/policy.2.3.FSharp.Core/0.0.0.0__b03f5f7f11d50a3a/* \ + ${libdir}/mono/gac/policy.4.0.FSharp.Core/0.0.0.0__b03f5f7f11d50a3a/* \ + ${libdir}/mono/gac/policy.3.3.FSharp.Core/0.0.0.0__b03f5f7f11d50a3a/* \ + ${libdir}/mono/gac/policy.3.3.FSharp.Core/0.0.0.0__b03f5f7f11d50a3a/* \ + ${libdir}/mono/gac/policy.2.0.FSharp.Core/0.0.0.0__b03f5f7f11d50a3a/* \ + ${libdir}/mono/gac/FSharp.Core/2.3.98.1__b03f5f7f11d50a3a/* \ + ${libdir}/mono/gac/FSharp.Core/2.3.1.0__b03f5f7f11d50a3a/* \ + ${libdir}/mono/gac/FSharp.Core/4.3.1.0__b03f5f7f11d50a3a/* \ + ${libdir}/mono/gac/FSharp.Core/2.3.99.1__b03f5f7f11d50a3a/* \ + ${libdir}/mono/gac/FSharp.Compiler/4.3.1.0__f536804aa0eb945b/* \ + ${libdir}/mono/gac/policy.4.3.FSharp.Core/0.0.0.0__b03f5f7f11d50a3a/* \ + ${libdir}/mono/gac/FSharp.Build/* \ + ${libdir}/mono/4.0/* \ + ${libdir}/mono/monotouch/* \ + ${libdir}/mono/monodroid/* \ +" + diff --git a/recipes-mono/fsharp/fsharp_3.1.1.1.bb b/recipes-mono/fsharp/fsharp_3.1.1.1.bb new file mode 100644 index 0000000..bc3533f --- /dev/null +++ b/recipes-mono/fsharp/fsharp_3.1.1.1.bb @@ -0,0 +1,7 @@ +require fsharp.inc + +inherit pkgconfig + +SRC_URI[md5sum] = "2900b258f57db34ca51d0caba58c9cd3" +SRC_URI[sha256sum] = "ad3f53e835d18a0c53a12101c118619a1cb8e4f6c216001572790e9509679bcf" + -- 1.7.9.5 _______________________________________________ yocto mailing list [email protected] https://lists.yoctoproject.org/listinfo/yocto
