aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/lzlib.rb12
1 files changed, 7 insertions, 5 deletions
diff --git a/Library/Formula/lzlib.rb b/Library/Formula/lzlib.rb
index 3e99fb038..46ad1804e 100644
--- a/Library/Formula/lzlib.rb
+++ b/Library/Formula/lzlib.rb
@@ -1,14 +1,16 @@
require 'formula'
class Lzlib < Formula
- url 'http://download.savannah.gnu.org/releases/lzip/lzlib-1.1.tar.gz'
+ url 'http://download.savannah.gnu.org/releases/lzip/lzlib-1.2.tar.gz'
homepage 'http://www.nongnu.org/lzip/lzlib.html'
- md5 '3e57ebb510b6343e93f56724cfa16510'
-
+ md5 '7a77358000929bb0a31ad6b68a139b9d'
def install
- system "./configure", "--disable-debug", "--disable-dependency-tracking",
- "--prefix=#{prefix}"
+ system "./configure", "--prefix=#{prefix}",
+ "CXX=#{ENV.cxx}",
+ "CPPFLAGS=#{ENV.cppflags}",
+ "CXXFLAGS=#{ENV.cflags}",
+ "LDFLAGS=#{ENV.ldflags}"
system "make install"
end
end