diff options
author | Joey Hess <joey@kitenet.net> | 2013-09-22 19:13:31 +0100 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-09-22 19:13:31 +0100 |
commit | b81e86a6ed7db7e8957f664631a8cdb4126e02dc (patch) | |
tree | 13b7b4ac26c8b8d05852ec48d158d149478b2781 /standalone/android/install-haskell-packages | |
parent | f159e8bccd823a9125f3134fba5a5dc3c7dd7df7 (diff) |
successfully builds (except XMPP)
Diffstat (limited to 'standalone/android/install-haskell-packages')
-rwxr-xr-x | standalone/android/install-haskell-packages | 30 |
1 files changed, 12 insertions, 18 deletions
diff --git a/standalone/android/install-haskell-packages b/standalone/android/install-haskell-packages index 097afc94d..bd56120a6 100755 --- a/standalone/android/install-haskell-packages +++ b/standalone/android/install-haskell-packages @@ -2,18 +2,12 @@ # Bootstraps from an empty cabal to all the necessary haskell packages # being installed, with the necessary patches to work on Android. # +# You should install ghc-android first. +# # Note that the newest version of packages is installed. # It attempts to reuse patches for older versions, but # new versions of packages often break cross-compilation by adding TH, # etc -# -# Needs some extra C libraries and packages to be installed -# on the host system: -# libgnutls-dev libxml2-dev libgsasl7-dev pkg-config c2hs -# -# Also needs some C libraries to be installed inside the cross-compiler -# lib directory (~/.ghc/android-14/arm-linux-androideabi-4.7/arm-linux-androideabi/sysroot/usr/lib/) -# , cross-compiled for Android: libgnutls libxml2 set -e @@ -40,15 +34,11 @@ patched () { $SHELL fi done - cabalinstall "$@" + cabalinstall --force-reinstalls "$@" rm -rf $pkg* cd .. } -unpatched () { - cabalinstall "$@" -} - installgitannexdeps () { echo cabal install git-annex --only-dependencies cabal install git-annex --only-dependencies "$@" @@ -76,24 +66,28 @@ install_pkgs () { patched socks patched entropy patched vector - patched wai-app-static patched persistent patched profunctors patched skein patched lens - patched shakespeare - patched shakespeare-css - patched shakespeare-js patched DAV patched persistent-template + patched file-embed + patched wai-app-static patched hamlet + patched shakespeare + patched shakespeare-css + patched shakespeare-js + patched yesod-routes patched yesod-core patched yesod-persistent patched yesod-form patched yesod-auth patched yesod + patched async + patched gnuidn - installgitannexdeps -f-Pairing -f-XMPP + installgitannexdeps -fAndroid -f-Pairing cd .. rm -rf tmp |