aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/subversion.rb
blob: e4584062e8979a3bc03934c6340c4e5288610277 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
require 'brewkit'

class Subversion <Formula
  @url='http://subversion.tigris.org/downloads/subversion-1.6.5.tar.bz2'
  @homepage='http://subversion.tigris.org/'
  @md5='1a53a0e72bee0bf814f4da83a9b6a636'

  depends_on 'neon'

  def install
    # Use existing system zlib, dep-provided other libraries
    # Don't mess with Apache modules (since we're not sudo)
    system "./configure", "--disable-debug",
                          "--prefix=#{prefix}",
                          "--with-ssl",
                          "--with-zlib=/usr/lib",
                          "--disable-mod-activation",
                          "--without-apache-libexecdir",
                          "--without-berkeley-db"
    system "make"
    system "make install"
  end
end