blob: dd9ce572158ff604ec14d189762aed9229017ea9 (
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
|
class FsharpPackage(GitHubTarballPackage):
def __init__(self):
GitHubTarballPackage.__init__(self,
'fsharp', 'fsharp',
'4.1.29',
'1e9f26937cff8a22e8603c2176fab8100f03e6b1',
configure='./configure --prefix="%{package_prefix}"',
override_properties={ 'make': 'make' })
self.extra_stage_files = ['lib/mono/xbuild/Microsoft/VisualStudio/v/FSharp/Microsoft.FSharp.Targets']
self.sources.extend(['patches/fsharp-portable-pdb.patch'])
def prep(self):
Package.prep(self)
for p in range(1, len(self.sources)):
self.sh('patch -p1 < "%{local_sources[' + str(p) + ']}"')
def build(self):
self.sh('autoreconf')
Package.configure(self)
Package.make(self)
FsharpPackage()
|