installenv: use custom harpy repo
[mate.git] / tools / installhaskellenv.sh
1 #!/bin/bash -x
2
3 CABAL_OPT="--enable-shared -p"
4
5 function gitinstall {
6         url=$1
7         git clone $url tmprepo
8         cd tmprepo
9         cabal install $CABAL_OPT
10         cd ..
11         rm -rf tmprepo
12 }
13
14 rm -rf ~/.ghc ~/.cabal
15 cabal update
16 cabal install cabal-install $CABAL_OPT
17 export PATH=~/.cabal/bin:$PATH
18 cabal update
19 cabal install missingh $CABAL_OPT
20 cabal install heap $CABAL_OPT
21 cabal install plugins $CABAL_OPT
22 cabal install split $CABAL_OPT
23
24 # cabal install hs-java $CABAL_OPT
25 gitinstall git://wien.tomnetworks.com/hs-java.git
26
27 cabal install disassembler $CABAL_OPT
28 # cabal install harpy $CABAL_OPT
29 gitinstall git://wien.tomnetworks.com/harpy.git
30
31 echo DONE