aboutsummaryrefslogtreecommitdiff
blob: ddc53409db2be71babf03ee5599121b663099733 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=5

USE_DOTNET="net40"

inherit git-2 autotools dotnet

DESCRIPTION="The F# Compiler"
HOMEPAGE="https://github.com/fsharp/fsharp"
SRC_URI=""

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS=""
IUSE="-unicode -fsharp4"

if use unicode; then
	EGIT_REPO_URI="git://github.com/Heather/fsharp.git"
	EGIT_MASTER="heather"
else
	EGIT_REPO_URI="git://github.com/fsharp/fsharp.git"
	if use fsharp4; then
		EGIT_MASTER="fsharp4"
	else
		EGIT_MASTER="master"
	fi
fi

MAKEOPTS="-j1" #nowarn
DEPEND="|| ( >dev-lang/mono-3.0.6 <dev-lang/mono-3.0.5 )"
RDEPEND="${DEPEND}"

src_prepare() {
	eautoreconf
}

src_install() {
	default
	dosym /usr/bin/fsharpc /usr/bin/fsc
}