Skip to content

Instantly share code, notes, and snippets.

@alazaro
alazaro / postgres9.1.6.rb
Last active December 14, 2015 14:18 — forked from nebiros/postgresql.rb
Homebrew formula for Postgres 9.1.6. To install it, just copy this file into /usr/local/Library/Formula/postgres9.1.6.rb and execute brew install postgres9.1.6. If you already have a Postgres instalation you must run brew link --overwrite postgres9.1.6
require 'formula'
class Postgres916 < Formula
homepage 'http://www.postgresql.org/'
url 'http://ftp.postgresql.org/pub/source/v9.1.6/postgresql-9.1.6.tar.bz2'
sha1 'a24b7c002463572ee7371f055e566b69e39cda3e'
depends_on 'readline'
depends_on 'libxml2' if MacOS.leopard? # Leopard libxml is too old
depends_on 'ossp-uuid' unless build.include? 'without-ossp-uuid'