2009-08-01 04:53:17 +00:00
|
|
|
require 'brewkit'
|
|
|
|
|
|
|
|
class Subversion <Formula
|
2009-09-01 19:21:45 +00:00
|
|
|
@url='http://subversion.tigris.org/downloads/subversion-1.6.5.tar.bz2'
|
2009-08-01 04:53:17 +00:00
|
|
|
@homepage='http://subversion.tigris.org/'
|
2009-09-01 19:21:45 +00:00
|
|
|
@md5='1a53a0e72bee0bf814f4da83a9b6a636'
|
2009-08-01 04:53:17 +00:00
|
|
|
|
2009-09-18 18:16:39 +00:00
|
|
|
depends_on 'neon'
|
2009-08-01 04:53:17 +00:00
|
|
|
|
2009-09-18 18:16:39 +00:00
|
|
|
def install
|
2009-09-01 19:21:45 +00:00
|
|
|
# Use existing system zlib, dep-provided other libraries
|
2009-08-01 04:53:17 +00:00
|
|
|
# Don't mess with Apache modules (since we're not sudo)
|
2009-08-10 15:48:30 +00:00
|
|
|
system "./configure", "--disable-debug",
|
|
|
|
"--prefix=#{prefix}",
|
2009-09-01 19:21:45 +00:00
|
|
|
"--with-ssl",
|
2009-08-10 15:48:30 +00:00
|
|
|
"--with-zlib=/usr/lib",
|
|
|
|
"--disable-mod-activation",
|
2009-09-01 19:21:45 +00:00
|
|
|
"--without-apache-libexecdir",
|
|
|
|
"--without-berkeley-db"
|
2009-08-01 04:53:17 +00:00
|
|
|
system "make"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|