aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/lzlib.rb
blob: 46ad1804e54b8842fce1ac9631d96ae963a1534b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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