diff options
| author | Adam Vandenberg | 2009-07-31 21:53:17 -0700 |
|---|---|---|
| committer | Max Howell | 2009-08-02 01:25:01 +0100 |
| commit | ddf2ef173a8bfc7207677d9544b855ca18f29972 (patch) | |
| tree | b6d07c465ab75c383263d8f07b605c22a03b2658 /Library | |
| parent | c8cb948e7d8eb09c5c21cbd2e7fd7c7260de617f (diff) | |
| download | homebrew-ddf2ef173a8bfc7207677d9544b855ca18f29972.tar.bz2 | |
Add subversion formula.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/subversion.rb | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/Library/Formula/subversion.rb b/Library/Formula/subversion.rb new file mode 100644 index 000000000..e863ac126 --- /dev/null +++ b/Library/Formula/subversion.rb @@ -0,0 +1,27 @@ +require 'brewkit' + +class SubversionDeps <UnidentifiedFormula + @url='http://subversion.tigris.org/downloads/subversion-deps-1.6.3.tar.bz2' + @md5='22d3687ae93648fcecf945c045931272' +end + +class Subversion <Formula + @url='http://subversion.tigris.org/downloads/subversion-1.6.3.tar.bz2' + @homepage='http://subversion.tigris.org/' + @md5='8bf7637ac99368db0890e3f085fa690d' + + def install + # Slot dependencies into place + d=Pathname.getwd + SubversionDeps.new.brew do + d.install Dir['*'] + end + + # Use existing system zlib + # Use dep-provided other libraries + # Don't mess with Apache modules (since we're not sudo) + system "./configure --disable-debug --prefix='#{prefix}' --with-zlib=/usr/lib --disable-mod-activation --without-apache-libexecdir" + system "make" + system "make install" + end +end |
