aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-07-26 15:19:53 -0500
committerJack Nagel2013-07-26 15:19:53 -0500
commit4f8ef2dab2c13dccf487342edd0f06a42f8e37a4 (patch)
treeeec186279bf98b444601ba4db97b81e844b16110 /Library
parent85fb5be5ac75498fad1d1cc7ed39e193b9abf180 (diff)
downloadhomebrew-4f8ef2dab2c13dccf487342edd0f06a42f8e37a4.tar.bz2
Revert "serf 1.3.0"
This reverts commit 156fd6eefe0272440f2e25a92ff6cfef2e97ca30.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/serf.rb14
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