mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-12-02 05:29:47 -05:00
Add subversion formula.
This commit is contained in:
1 parent
c8cb948e7d
commit
ddf2ef173a
1 file changed
+27
@@ -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
|
||||
Reference in new issue
Block a user