diff options
Diffstat (limited to 'Library/Formula/serf.rb')
| -rw-r--r-- | Library/Formula/serf.rb | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/Library/Formula/serf.rb b/Library/Formula/serf.rb index 1093f7a2c..2eea834a6 100644 --- a/Library/Formula/serf.rb +++ b/Library/Formula/serf.rb @@ -2,18 +2,22 @@ require 'formula' class Serf < Formula homepage 'http://code.google.com/p/serf/' - url 'http://serf.googlecode.com/files/serf-1.3.0.tar.bz2' - sha1 '14ed3e1dc195016a548499b3831f3df6b2501d27' + url 'http://serf.googlecode.com/files/serf-1.2.1.tar.bz2' + sha1 'f65fbbd72926c8e7cf0dbd4ada03b0d226f461fd' option :universal depends_on :libtool depends_on 'sqlite' - depends_on 'scons' => :build + + def apr_bin + superbin or "/usr/bin" + end def install ENV.universal_binary if build.universal? - system "scons", "PREFIX=#{prefix}" - system "scons install" + system "./configure", "--prefix=#{prefix}", + "--with-apr=#{apr_bin}" + system "make install" end end |
