Last active
August 29, 2015 14:01
-
-
Save Alxandr/e47a5111eec80d421b70 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
if test `uname` = Darwin; then | |
# Running on mac | |
brew update | |
brew install mono | |
else | |
# Running (presumably) on linux | |
# sudo add-apt-repository -y ppa:directhex/monoxide | |
sudo apt-get update -qq | |
sudo apt-get -y install git-core build-essential autoconf libtool gettext | |
CWD=$(pwd) | |
cd .. | |
git clone git://github.com/mono/mono.git | |
cd mono | |
./autogen.sh --prefix=/usr/local --with-mcs-docs=no --with-libgdiplus=/usr/lib/libgdiplus.so | |
make get-monolite-latest | |
make -j2 | |
sudo make install | |
cd "$CWD" | |
mozroots --import --sync | |
fi | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment