homebrew-core/Formula/lzlib.rb
Jack Nagel e4119a78e0 lzlib 1.2
Also pass correct compiler settings to `configure`.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-11-07 17:27:44 -06:00

16 lines
505 B
Ruby

require 'formula'
class Lzlib < Formula
url 'http://download.savannah.gnu.org/releases/lzip/lzlib-1.2.tar.gz'
homepage 'http://www.nongnu.org/lzip/lzlib.html'
md5 '7a77358000929bb0a31ad6b68a139b9d'
def install
system "./configure", "--prefix=#{prefix}",
"CXX=#{ENV.cxx}",
"CPPFLAGS=#{ENV.cppflags}",
"CXXFLAGS=#{ENV.cflags}",
"LDFLAGS=#{ENV.ldflags}"
system "make install"
end
end