2009-08-01 04:53:17 +00:00
|
|
|
require 'brewkit'
|
|
|
|
|
2009-08-10 15:48:30 +00:00
|
|
|
class SubversionDeps <Formula
|
2009-09-01 19:21:45 +00:00
|
|
|
@url='http://subversion.tigris.org/downloads/subversion-deps-1.6.5.tar.bz2'
|
|
|
|
@md5='8272316e1670d4d2bea451411e438bde'
|
2009-08-01 04:53:17 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
def install
|
|
|
|
# Slot dependencies into place
|
|
|
|
d=Pathname.getwd
|
|
|
|
SubversionDeps.new.brew do
|
|
|
|
d.install Dir['*']
|
|
|
|
end
|
|
|
|
|
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
|