Files
tigerbrew/Library/Formula/pg_top.rb
T
Felix Bünemann 7034bc4629 pg_top 3.7.0
Upgraded to 3.7.0 and added a config.h fix to fix compile errors on
Mavericks caused by strlcpy being a macro now.

Closes #24863.
Closes #26450.

Signed-off-by: Brett Koonce <koonce@gmail.com>
2014-02-05 19:49:42 -06:00

17 lines
506 B
Ruby

require 'formula'
class PgTop < Formula
homepage 'http://ptop.projects.postgresql.org/'
url 'http://pgfoundry.org/frs/download.php/3504/pg_top-3.7.0.tar.bz2'
sha1 '377518d95d65011b984d23fd87fb3cc91aaa1afd'
depends_on :postgresql
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "echo '#define HAVE_DECL_STRLCPY 1' >> config.h" if MacOS.version >= :mavericks
system "make install"
end
end