forked from hasufell/hasufell-repository
Move dev-lang/fsharp from ::exony to ::hasufell
This commit is contained in:
commit
b3d67aacd8
43
packages/dev-lang/fsharp/fsharp-scm.exheres-0
Normal file
43
packages/dev-lang/fsharp/fsharp-scm.exheres-0
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
# Copyright 2012 Nikolay Orlyuk
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
require github \
|
||||||
|
autotools [ supported_automake=[ 1.12 ] supported_autoconf=[ 2.5 ] ]
|
||||||
|
|
||||||
|
SUMMARY="The F# compiler, core library and core tools (open source edition)"
|
||||||
|
|
||||||
|
LICENCES="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
PLATFORMS="~amd64"
|
||||||
|
MYOPTIONS=""
|
||||||
|
|
||||||
|
DEPENDENCIES="
|
||||||
|
build:
|
||||||
|
virtual/pkg-config
|
||||||
|
build+run:
|
||||||
|
dev-lang/mono[>=4.2.2.30-r1]
|
||||||
|
"
|
||||||
|
|
||||||
|
BUGS_TO="virkony@gmail.com"
|
||||||
|
|
||||||
|
DEFAULT_SRC_CONFIGURE_PARAMS=( --with-gacdir="/usr/$(exhost --target)/lib/mono/gac" )
|
||||||
|
|
||||||
|
DEFAULT_SRC_COMPILE_PARAMS=( -j1 )
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
# uses NuGet to build, no easy way around,
|
||||||
|
# unless you like the alternative in e.g. games-strategy/openra
|
||||||
|
esandbox disable_net
|
||||||
|
default
|
||||||
|
esandbox enable_net
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
esandbox disable_net
|
||||||
|
default
|
||||||
|
esandbox enable_net
|
||||||
|
|
||||||
|
# delete empty directories
|
||||||
|
edo find "${IMAGE}" -type d -empty -delete
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user