]> Pileus Git - ~andy/sunrise/commitdiff
dev-dotnet/f-sharp: New ebuild to address bug 320675.
authorMartin Jackson <mjo@gentoo.org>
Sat, 16 Oct 2010 19:05:58 +0000 (19:05 +0000)
committerMartin Jackson <mjo@gentoo.org>
Sat, 16 Oct 2010 19:05:58 +0000 (19:05 +0000)
svn path=/sunrise/; revision=11438

dev-dotnet/f-sharp/ChangeLog [new file with mode: 0644]
dev-dotnet/f-sharp/Manifest [new file with mode: 0644]
dev-dotnet/f-sharp/f-sharp-2.0.0.0.ebuild [new file with mode: 0644]
dev-dotnet/f-sharp/files/mono.snk [new file with mode: 0644]
dev-dotnet/f-sharp/metadata.xml [new file with mode: 0644]

diff --git a/dev-dotnet/f-sharp/ChangeLog b/dev-dotnet/f-sharp/ChangeLog
new file mode 100644 (file)
index 0000000..99c38b2
--- /dev/null
@@ -0,0 +1,8 @@
+# ChangeLog for dev-dotnet/f-sharp
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+  16 Oct 2010; Michael Orlitzky <michael@orlitzky.com>
+  +f-sharp-2.0.0.0.ebuild, +files/mono.snk, +metadata.xml:
+  New ebuild to address bug 320675.
+
diff --git a/dev-dotnet/f-sharp/Manifest b/dev-dotnet/f-sharp/Manifest
new file mode 100644 (file)
index 0000000..ae05ef2
--- /dev/null
@@ -0,0 +1,5 @@
+AUX mono.snk 596 RMD160 bf19be5a57a300f1f54c8ab0466ec0b8532565f1 SHA1 9667c92d7c9009a6b7baf5815483ea8783d12581 SHA256 44a83944d57c37da4e7872967f1fd4b445af18cdcbe8d17a0e3f5e5ce553c78a
+DIST f-sharp-2.0.0.0.zip 23164664 RMD160 a8c56f1991dea3ee8cfb865905798636dd066993 SHA1 c7122b1a772760092ca67f84e43e523259e36400 SHA256 fc79c51a2b907a082ce49eb01f22385615bc78e0e9564e05896da6e2189dd52b
+EBUILD f-sharp-2.0.0.0.ebuild 1204 RMD160 588d0ec5d06d41dc7b89e6d341c2d75bbf4d8ec0 SHA1 b1bcfa2fc11ee88803d2ac2f275b53ffe0c3f776 SHA256 93214666b48e4a6dd7e07d67718fdd36696f94186e9447cff7cdcfe05975f01e
+MISC ChangeLog 270 RMD160 3636c86c292cfae02b1a61e6ad8f54037f1c7ba0 SHA1 80da3549d4fc11b20f70915aaffdec9a018cc3d8 SHA256 91b101cdb012d1ed2c6f7f79204cdec3eba6a0160504d3db7bff2af9e61c3c5a
+MISC metadata.xml 229 RMD160 f0f6417bec31ce8baba6d476664f7210c8c84c98 SHA1 e5f94f5caadc6f843fc90bb7959570cd503676fd SHA256 3b08fca3c878bdfc4e7639f477dd542d55a4ab5dce39a475e82633071d13eb3f
diff --git a/dev-dotnet/f-sharp/f-sharp-2.0.0.0.ebuild b/dev-dotnet/f-sharp/f-sharp-2.0.0.0.ebuild
new file mode 100644 (file)
index 0000000..e011659
--- /dev/null
@@ -0,0 +1,51 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=2
+
+inherit eutils mono
+
+DESCRIPTION="The F# programming language and tools"
+HOMEPAGE="http://fsharp.net/"
+SRC_URI="http://download.microsoft.com/download/B/8/6/B869DF5B-B2C7-4125-8A1E-23CA77235048/fsharp.zip -> ${P}.zip"
+
+LICENSE="MSR-SSLA"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=dev-lang/mono-2.6"
+DEPEND="app-arch/unzip
+               ${RDEPEND}"
+
+S=${WORKDIR}/FSharp-${PV}
+
+create_exe_wrappers() {
+       ebegin "creating compiler wrappers"
+
+       for exe in fsi fsc; do
+               make_wrapper ${exe} "mono /usr/$(get_libdir)/${PN}/${exe}.exe" \
+                       || die "couldn't create wrapper for ${exe}.exe"
+       done
+
+       eend $?
+}
+
+src_install() {
+       insinto "/usr/$(get_libdir)/${PN}"
+       doins bin/* || die "installing libraries failed"
+
+       local libname=bin/FSharp.Core.dll
+
+       # Sign $libname with the Mono key, per the instructions
+       # in install-mono.sh.
+       sn -q -R "${S}/${libname}" "${FILESDIR}/mono.snk" \
+               || die "couldn't sign the ${libname} assembly"
+
+       # After signing, this should work.
+       egacinstall "${libname}" \
+               || die "couldn't install ${libname} in the global assembly cache"
+
+       create_exe_wrappers
+}
diff --git a/dev-dotnet/f-sharp/files/mono.snk b/dev-dotnet/f-sharp/files/mono.snk
new file mode 100644 (file)
index 0000000..380116c
Binary files /dev/null and b/dev-dotnet/f-sharp/files/mono.snk differ
diff --git a/dev-dotnet/f-sharp/metadata.xml b/dev-dotnet/f-sharp/metadata.xml
new file mode 100644 (file)
index 0000000..e6233b5
--- /dev/null
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer><email>maintainer-wanted@gentoo.org</email></maintainer>
+</pkgmetadata>