commit:     ece47ae2907412a0b20830a1dcb30ede9c5ea29d
Author:     Heather <Heather <AT> live <DOT> ru>
AuthorDate: Sun Apr  6 06:03:24 2014 +0000
Commit:     Heather Cynede <cynede <AT> gentoo <DOT> org>
CommitDate: Sun Apr  6 06:03:24 2014 +0000
URL:        
http://git.overlays.gentoo.org/gitweb/?p=proj/dotnet.git;a=commit;h=ece47ae2

bump FAKE

---
 dev-dotnet/fake/fake-2.13.0.ebuild | 71 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 71 insertions(+)

diff --git a/dev-dotnet/fake/fake-2.13.0.ebuild 
b/dev-dotnet/fake/fake-2.13.0.ebuild
new file mode 100644
index 0000000..1ec9989
--- /dev/null
+++ b/dev-dotnet/fake/fake-2.13.0.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="5"
+
+USE_DOTNET="net40"
+NUGET_NO_DEPEND="1"
+
+inherit nuget dotnet eutils
+
+DESCRIPTION="FAKE - F# Make"
+HOMEPAGE="http://nuget.org/packages/FAKE";
+
+SRC_URI="https://github.com/fsharp/FAKE/archive/${NPV}.tar.gz";
+
+LICENSE="MS-PL"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="-nuget"
+
+DEPEND="dev-lang/mono
+       dev-lang/fsharp
+       nuget? ( dev-dotnet/nuget )"
+
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+       addpredict /etc/mono/registry/last-btime #nowarn
+}
+
+src_unpack() {
+       if use nuget ; then
+               echo "using nuget"
+               nuget_src_unpack
+       else
+               default;
+               S=${WORKDIR}/FAKE-${NPV}
+       fi
+}
+
+src_compile() {
+       if use nuget ; then
+               echo "installation is done via nuget"
+       else
+               #fake is searching for libraries in source folder
+               ln -s tools/FAKE/tools/Newtonsoft.Json.dll 
"${S}"/Newtonsoft.Json.dll || die
+               ln -s tools/FAKE/tools/NuGet.Core.dll "${S}"/NuGet.Core.dll || 
die
+               ln -s tools/FAKE/tools/Fake.SQL.dll "${S}"/Fake.SQL.dll || die
+               sh "${S}/build.sh" || die "build.sh failed"
+       fi
+}
+
+src_install() {
+       elog "Installing libraries"
+       insinto /usr/lib/mono/FAKE/"${FRAMEWORK}"/
+       if use nuget ; then
+               doins FAKE."${NPV}"/tools/FAKE.exe
+               doins FAKE."${NPV}"/tools/FakeLib.dll
+               nonfatal doins FAKE."${NPV}"/tools/Newtonsoft.Json.dll
+               nonfatal doins FAKE."${NPV}"/tools/Fake.SQL.dll
+               nonfatal doins FAKE."${NPV}"/tools/NuGet.Core.dll
+       else
+               doins build/FAKE.exe
+               doins build/FakeLib.dll
+               nonfatal doins tools/FAKE/tools/Newtonsoft.Json.dll
+               nonfatal doins tools/FAKE/tools/Fake.SQL.dll
+               nonfatal doins tools/FAKE/tools/NuGet.Core.dll
+       fi
+       make_wrapper fake "mono /usr/lib/mono/FAKE/${FRAMEWORK}/FAKE.exe"
+}

Reply via email to