summaryrefslogtreecommitdiff
blob: 74d64abc9af78cc14ca387d6b0bfc3db03fa6bf5 (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
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=5

AUTOTOOLS_AUTORECONF=1

inherit autotools-utils 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"
KEYWORDS="~x86 ~amd64"
IUSE=""

MAKEOPTS+=" -j1" #nowarn
DEPEND=">=dev-lang/mono-3"
RDEPEND="${DEPEND}"

AUTOTOOLS_IN_SOURCE_BUILD=1

# 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
}

src_install() {
	autotools-utils_src_install
}