Page 1 of 1

OSX install

PostPosted: Monday, 10th January 2011, 16:10
by Kronusdark
i'm trying to figure out how to install crawl in my macbook so its not in the .app but actually installed like a normal unix app. this would make it easier and more elegant when i try to play via SSH. any ideas?

Re: OSX install [SOLVED]

PostPosted: Thursday, 13th January 2011, 01:01
by Kronusdark
so i figured it out, and i even made a neato script to build and install. this works on snow leopard, you will need git and the developer tools, but they come with Xcode.

it will install the console version system wide and have a shared scoreboard
i want to think greensnark in ##crawl-dev for helping me.


  Code:
#!/bin/bash
rm -Rf ./crawl-ref/
echo
echo "******************************"
echo "**     Getting Source       **"
echo "******************************"
echo
git clone git://crawl-ref.git.sourceforge.net/gitroot/crawl-ref/crawl-ref
cd crawl-ref/
echo
echo "******************************"
echo "**      Updating Deps       **"
echo "******************************"     
echo
git submodule update --init
cd crawl-ref/
echo
echo "******************************"
echo "**  Building & Installing   **"
echo "******************************"
echo
cd source/
sudo make install prefix=/usr/local/ SAVEDIR=/Users/Shared/.crawl/ SDK_VER=10.6
echo
echo "******************************"
echo "**          Done            **"
echo "******************************"
echo

Re: OSX install

PostPosted: Thursday, 13th January 2011, 09:23
by Napkin
This needs to be added to the manual, I think.