forked from hasufell/hasufell-repository
dev-lang/fsharp: fix build
This commit is contained in:
parent
7928b8e505
commit
f02ef7d56a
@ -1,8 +1,7 @@
|
|||||||
# Copyright 2012 Nikolay Orlyuk
|
# Copyright 2012 Nikolay Orlyuk
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
require github \
|
require github
|
||||||
autotools [ supported_automake=[ 1.12 ] supported_autoconf=[ 2.5 ] ]
|
|
||||||
|
|
||||||
SUMMARY="The F# compiler, core library and core tools (open source edition)"
|
SUMMARY="The F# compiler, core library and core tools (open source edition)"
|
||||||
|
|
||||||
@ -20,8 +19,6 @@ DEPENDENCIES="
|
|||||||
|
|
||||||
BUGS_TO="virkony@gmail.com"
|
BUGS_TO="virkony@gmail.com"
|
||||||
|
|
||||||
DEFAULT_SRC_CONFIGURE_PARAMS=( --with-gacdir="/usr/$(exhost --target)/lib/mono/gac" )
|
|
||||||
|
|
||||||
DEFAULT_SRC_COMPILE_PARAMS=( -j1 )
|
DEFAULT_SRC_COMPILE_PARAMS=( -j1 )
|
||||||
|
|
||||||
src_compile() {
|
src_compile() {
|
||||||
@ -37,6 +34,10 @@ src_install() {
|
|||||||
default
|
default
|
||||||
esandbox enable_net
|
esandbox enable_net
|
||||||
|
|
||||||
|
dodir /usr/$(exhost --target)
|
||||||
|
edo mv "${IMAGE}"/usr/lib "${IMAGE}"/usr/$(exhost --target)/lib
|
||||||
|
edo mv "${IMAGE}"/usr/bin "${IMAGE}"/usr/$(exhost --target)/bin
|
||||||
|
|
||||||
# delete empty directories
|
# delete empty directories
|
||||||
edo find "${IMAGE}" -type d -empty -delete
|
edo find "${IMAGE}" -type d -empty -delete
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user