aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2009-12-17 11:55:27 -0800
committerAdam Vandenberg2010-11-09 06:27:11 -0800
commitfd70ad49012be75c532b7991d1a1f0264a0ec91f (patch)
tree0f00cbad3b13db360a280ed739db65132e12691b /Library
parentbdb9280a0ce2618b2fb85313b86a81146edfba83 (diff)
downloadhomebrew-fd70ad49012be75c532b7991d1a1f0264a0ec91f.tar.bz2
curl 7.21.2 (OS X 10.5 comes with 7.16.3)
CouchDB requires at least 7.18.0.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/curl.rb13
-rw-r--r--Library/Formula/libnet.rb5
-rw-r--r--Library/Formula/spidermonkey.rb5
3 files changed, 20 insertions, 3 deletions
diff --git a/Library/Formula/curl.rb b/Library/Formula/curl.rb
new file mode 100644
index 000000000..cc898a67f
--- /dev/null
+++ b/Library/Formula/curl.rb
@@ -0,0 +1,13 @@
+require 'formula'
+
+class Curl <Formula
+ url 'http://curl.haxx.se/download/curl-7.21.2.tar.bz2'
+ homepage 'http://curl.haxx.se/'
+ md5 'ca96df88e044c7c25d19692ec8b250b2'
+
+ def install
+ system "./configure", "--disable-debug", "--disable-dependency-tracking",
+ "--prefix=#{prefix}"
+ system "make install"
+ end
+end
diff --git a/Library/Formula/libnet.rb b/Library/Formula/libnet.rb
index d6d09e8d2..2ba8dab57 100644
--- a/Library/Formula/libnet.rb
+++ b/Library/Formula/libnet.rb
@@ -10,8 +10,9 @@ class Libnet < Formula
cd 'libnet'
inreplace "autogen.sh", "libtoolize", "glibtoolize"
system "./autogen.sh"
- cp "/usr/share/libtool/config/config.guess", "."
- cp "/usr/share/libtool/config/config.sub", "."
+ # These are being linked in here for us...?
+ # cp "/usr/share/libtool/config/config.guess", "."
+ # cp "/usr/share/libtool/config/config.sub", "."
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
touch 'doc/man/man3/libnet.3'
system "make install"
diff --git a/Library/Formula/spidermonkey.rb b/Library/Formula/spidermonkey.rb
index 58f398ba9..e9b3609c5 100644
--- a/Library/Formula/spidermonkey.rb
+++ b/Library/Formula/spidermonkey.rb
@@ -42,8 +42,11 @@ class Spidermonkey <Formula
# building like this. See: http://openradar.appspot.com/7209349
inreplace "configure.in", "LDFLAGS=\"$LDFLAGS -framework Cocoa\"", ""
system "#{ac213_prefix}/bin/autoconf213"
+
# Remove the broken *(for anyone but FF) install_name
- inreplace "config/rules.mk", "-install_name @executable_path/$(SHARED_LIBRARY) ", "-install_name #{lib}/$(SHARED_LIBRARY) "
+ inreplace "config/rules.mk",
+ "-install_name @executable_path/$(SHARED_LIBRARY) ",
+ "-install_name #{lib}/$(SHARED_LIBRARY) "
end
mkdir "brew-build"