|
|
Line 2: |
Line 2: |
|
| |
|
| == Prerequisites == | | == Prerequisites == |
|
| |
| I'm assuming you're running a Mac with Snow Leopard.
| |
|
| |
| === Install HomeBrew ===
| |
|
| |
| ruby -e "$(curl -fsS http://gist.github.com/raw/323731/install_homebrew.rb)"
| |
|
| |
| === Install dependencies ===
| |
|
| |
| * Autoconf: put the following in /usr/local/Library/Formula/autoconf.rb:
| |
|
| |
| require 'formula'
| |
|
| |
| class Autoconf <Formula
| |
| url 'http://ftp.gnu.org/pub/gnu/autoconf/autoconf-2.13.tar.gz'
| |
| homepage 'http://www.gnu.org/software/autoconf/'
| |
| md5 '9de56d4a161a723228220b0f425dc711'
| |
|
| |
| # depends_on 'cmake'
| |
|
| |
| def install
| |
| system "./configure", "--disable-debug", "--disable-dependency-tracking",
| |
| "--prefix=#{prefix}"
| |
| # system "cmake . #{std_cmake_parameters}"
| |
| system "make install"
| |
| end
| |
| end
| |
|
| |
| * Then install a bunch of packages (some required for Sync, some just useful):
| |
|
| |
| brew install \
| |
| ack distribute gdbm git gnutls libgcrypt libidl libtasn1 pcre pkg-config \
| |
| python3 spidermonkey wget yasm autoconf gettext glib jsl libgpg-error \
| |
| libpng lynx nspr pip python qrencode readline sqlite wireshark
| |
|
| |
| * Now you can install Mercurial:
| |
|
| |
| pip install mercurial
| |
|
| |
|
| === Configure Mercurial === | | === Configure Mercurial === |