slony 2.2.4

Closes Homebrew/homebrew#39885.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
Alex Dunn 2015-05-18 12:51:53 -07:00 committed by Jack Nagel
parent 480cb54325
commit a0bc9439c8

View file

@ -1,18 +1,16 @@
require 'formula'
class Slony < Formula
homepage 'http://slony.info/'
url 'http://slony.info/downloads/2.1/source/slony1-2.1.2.tar.bz2'
sha1 '47449fbc742a25eefdab088ab650973416bccb53'
homepage "http://slony.info/"
url "http://main.slony.info/downloads/2.2/source/slony1-2.2.4.tar.bz2"
mirror "https://mirrors.kernel.org/debian/pool/main/s/slony1-2/slony1-2_2.2.4.orig.tar.bz2"
sha256 "846a878f50de520d151e7f76a66d9b9845e94beb8820727bf84ab522a73e65b5"
depends_on :postgresql
def install
postgres = Formula['postgresql']
system "./configure", "--disable-debug",
"--with-pgconfigdir=#{postgres.opt_bin}",
"--with-pgconfigdir=#{Formula["postgresql"].opt_bin}",
"--prefix=#{prefix}"
system "make install"
system "make", "install"
end
test do