Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 7b483721f7
Fetching contributors…

Cannot retrieve contributors at this time

33 lines (27 sloc) 0.956 kb
require 'formula'
class Zlib < Formula
homepage 'http://www.zlib.net/'
url 'http://zlib.net/zlib-1.2.7.tar.gz'
sha1 '4aa358a95d1e5774603e6fa149c926a80df43559'
keg_only :provided_by_osx
def patches; DATA end
def install
system "./configure", "--prefix=#{prefix}"
system "make install"
end
end
# /usr/bin/libtool is no use to CLT-less rigs
__END__
diff --git a/configure b/configure
index 36c7d8e..0c97d7b 100755
--- a/configure
+++ b/configure
@@ -231,7 +231,7 @@ if test "$gcc" -eq 1 && ($cc -c $cflags $test.c) >> configure.log 2>&1; then
SHAREDLIBV=libz.$VER$shared_ext
SHAREDLIBM=libz.$VER1$shared_ext
LDSHARED=${LDSHARED-"$cc -dynamiclib -install_name $libdir/$SHAREDLIBM -compatibility_version $VER1 -current_version $VER3"}
- AR="/usr/bin/libtool"
+ AR="libtool"
ARFLAGS="-o" ;;
*) LDSHARED=${LDSHARED-"$cc -shared"} ;;
esac
Jump to Line
Something went wrong with that request. Please try again.