aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCynede <cynede@gentoo.org>2019-01-10 16:19:43 +0400
committerCynede <cynede@gentoo.org>2019-01-10 16:19:43 +0400
commitabff5d3c8ca747b5b9721e3a005f77961952a365 (patch)
tree252577df28a2086ff9e9f8f29973ce89d44144ca /dev-lang/fsharp/fsharp-10.2.1.ebuild
parentMerge pull request #411 from ArsenShnurkov/master (diff)
downloaddotnet-abff5d3c8ca747b5b9721e3a005f77961952a365.tar.gz
dotnet-abff5d3c8ca747b5b9721e3a005f77961952a365.tar.bz2
dotnet-abff5d3c8ca747b5b9721e3a005f77961952a365.zip
ebuild draft (broken)
Diffstat (limited to 'dev-lang/fsharp/fsharp-10.2.1.ebuild')
-rw-r--r--dev-lang/fsharp/fsharp-10.2.1.ebuild31
1 files changed, 31 insertions, 0 deletions
diff --git a/dev-lang/fsharp/fsharp-10.2.1.ebuild b/dev-lang/fsharp/fsharp-10.2.1.ebuild
new file mode 100644
index 0000000..584aa64
--- /dev/null
+++ b/dev-lang/fsharp/fsharp-10.2.1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit mono-env
+
+DESCRIPTION="The F# Compiler"
+HOMEPAGE="https://github.com/fsharp/fsharp"
+SRC_URI="https://github.com/fsharp/fsharp/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+#Broken: Microsoft.FSharp.Targets(129,9): error MSB4127: The "CreateFSharpManifestResourceName" task could not be instantiated from the assembly "/var/tmp/portage/dev-lang/fsharp-10.2.1/work/fsharp-10.2.1/packages/FSharp.Compiler.Tools.4.1.27/tools/FSharp.Build.dll". Please verify the task assembly has been built using the same version of the Microsoft.Build.Framework assembly as the one installed on your computer and that your host application is not missing a binding redirect for Microsoft.Build.Framework. Specified cast is not valid. [/var/tmp/portage/dev-lang/fsharp-10.2.1/work/fsharp-10.2.1/src/fsharp/FSharp.Core/FSharp.Core.fsproj]
+#KEYWORDS="~x86 ~amd64"
+IUSE=""
+
+MAKEOPTS+=" -j1" #nowarn
+DEPEND=">=dev-lang/mono-5
+ dev-util/msbuild"
+RDEPEND="${DEPEND}"
+
+# try to sync certificates
+# deprecated way: mozroots --import --sync --machine
+pkg_setup() {
+ #this is horrible, I know
+ addwrite "/usr/share/.mono/keypairs"
+ addwrite "/etc/ssl/certs/ca-certificates.crt"
+ addwrite "/etc/mono/registry"
+ cert-sync /etc/ssl/certs/ca-certificates.crt
+}