Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Add clean slony #15285

Closed
wants to merge 6 commits into from

2 participants

@allenhuang

This is a pull request fix #15201. Hope this time is good.

@adamv adamv closed this pull request from a commit
Allen Huang slony 2.1.2
Closes #15285.
Closes #15201.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2f47996
@adamv adamv closed this in 2f47996
@allenhuang allenhuang referenced this pull request from a commit
Commit has since been removed from the repository and is no longer available.
@allenhuang allenhuang referenced this pull request from a commit in allenhuang/homebrew
Allen Huang slony 2.1.2
Closes #15285.
Closes #15201.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
0abd4f5
@theirix theirix referenced this pull request from a commit
Commit has since been removed from the repository and is no longer available.
@snakeyroc3 snakeyroc3 referenced this pull request from a commit in snakeyroc3/homebrew
Allen Huang slony 2.1.2
Closes #15285.
Closes #15201.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
9d15814
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Sep 28, 2012
  1. Add slony1 formula

    Allen Huang authored
    Add slony1 formula for homebrew
Commits on Sep 30, 2012
  1. @allenhuang
Commits on Oct 4, 2012
  1. Merge remote-tracking branch 'upstream/master'

    Allen Huang authored
  2. Add slony formula

    Allen Huang authored
  3. Remove old slony1 formula

    Allen Huang authored
This page is out of date. Refresh to see the latest.
Showing with 38 additions and 0 deletions.
  1. +38 −0 Library/Formula/slony.rb
View
38 Library/Formula/slony.rb
@@ -0,0 +1,38 @@
+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 'pg_config'
+ end
+ def fatal?
+ true
+ end
+end
+
+class Slony < Formula
+ homepage 'http://slony.info/'
+ url 'http://slony.info/downloads/2.1/source/slony1-2.1.2.tar.bz2'
+ sha1 '47449fbc742a25eefdab088ab650973416bccb53'
+
+ depends_on PostgresqlInstalled.new
+
+ def install
+ system "./configure", "--disable-debug",
+ "--prefix=#{prefix}"
+ system "make install"
+ end
+
+ def test
+ system "slon", "-v"
+ end
+end
Something went wrong with that request. Please try again.