aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorKashif Rasul2012-05-14 21:17:17 +0300
committerJack Nagel2012-05-15 18:10:23 -0500
commit183bf1e1852ba82eaa54e85ed51cd76616c36b1b (patch)
tree8b24b2f402cfd7accc76136e95289342e0d495d5 /Library/Formula
parent28fa55824e8808f81d67b5084974cc14c9f15c16 (diff)
downloadhomebrew-183bf1e1852ba82eaa54e85ed51cd76616c36b1b.tar.bz2
pgbouncer 1.5.1
If asciidoc is present, the HTML docs are built, which also requires xmlto. Closes #12242. jn: - it wasn't immediately clear to me how to just disable building the HTML docs, so I left the deps in - mark asciidoc and xmlto as build-time deps and set XML_CATALOG_FILES - remove unused configure switch - use builtin ln_s instead of shelling out Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/pgbouncer.rb12
1 files changed, 8 insertions, 4 deletions
diff --git a/Library/Formula/pgbouncer.rb b/Library/Formula/pgbouncer.rb
index ad348e395..7f0dba501 100644
--- a/Library/Formula/pgbouncer.rb
+++ b/Library/Formula/pgbouncer.rb
@@ -1,17 +1,21 @@
require 'formula'
class Pgbouncer < Formula
- url 'http://pgfoundry.org/frs/download.php/3197/pgbouncer-1.5.tgz'
homepage 'http://wiki.postgresql.org/wiki/PgBouncer'
- md5 '6179fdc7f7e3c702fe834d655676de4c'
+ url 'http://pgfoundry.org/frs/download.php/3240/pgbouncer-1.5.1.tar.gz'
+ md5 '90348e2583ba2fadecaa1aa3cc5a5e78'
+ depends_on 'asciidoc' => :build
+ depends_on 'xmlto' => :build
depends_on 'libevent'
def install
- system "./configure", "--disable-debug", "--disable-dependency-tracking",
+ ENV['XML_CATALOG_FILES'] = "#{etc}/xml/catalog"
+
+ system "./configure", "--disable-debug",
"--with-libevent=#{HOMEBREW_PREFIX}",
"--prefix=#{prefix}"
- system "ln -s ../install-sh doc/install-sh"
+ ln_s "../install-sh", "doc/install-sh"
system "make install"
bin.install "etc/mkauth.py"
etc.install %w(etc/pgbouncer.ini etc/userlist.txt)