Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 54d19dd1a4
Fetching contributors…

Cannot retrieve contributors at this time

file 34 lines (28 sloc) 0.714 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
require 'formula'

class PostgresqlInstalled < Requirement
  def message; <<-EOS.undent
PostgreSQL is required to install.

You can install this with:
brew install postgresql

Or you can use an official installer from:
http://www.postgresql.org/
EOS
  end
  def satisfied?
    which 'postgres'
  end
  def fatal?
    true
  end
end

class Skytools < Formula
  homepage 'http://pgfoundry.org/projects/skytools/'
  url 'http://pgfoundry.org/frs/download.php/3321/skytools-3.1.tar.gz'
  sha1 'f31fb7096f160fb959f8a217cbea529da04b277e'

  depends_on PostgresqlInstalled.new

  def install
    system "./configure", "--prefix=#{prefix}"
    system "make"
    system "make install"
  end
end
Something went wrong with that request. Please try again.