aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/lzlib.rb
blob: 7b15975ce64175f5be1f8e6032a7ed13604bcf2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
require 'formula'

class Lzlib < Formula
  homepage 'http://www.nongnu.org/lzip/lzlib.html'
  url 'http://download.savannah.gnu.org/releases/lzip/lzlib-1.4.tar.gz'
  sha1 '94aa4558f499ef64603f329d2a9ba9d2612674da'

  def install
    system "./configure", "--prefix=#{prefix}",
                          "CC=#{ENV.cc}",
                          "CFLAGS=#{ENV.cflags}"
    system "make"
    system "make check"
    system "make install"
  end
end