forked from Homebrew/legacy-homebrew
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add slony1 formula for homebrew
- Loading branch information
Allen Huang
committed
Sep 28, 2012
1 parent
d1cb3d9
commit dbd4fda
Showing
1 changed file
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
require 'formula' | ||
|
||
class Slony1 < Formula | ||
homepage 'http://slony.info/' | ||
url 'http://slony.info/downloads/2.1/source/slony1-2.1.2.tar.bz2' | ||
sha1 '47449fbc742a25eefdab088ab650973416bccb53' | ||
|
||
def install | ||
system "./configure", "--disable-debug", "--disable-dependency-tracking", | ||
"--prefix=#{prefix}" | ||
system "make install" | ||
end | ||
|
||
def test | ||
system "slon", "-v" | ||
end | ||
end |