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

class Plzip < Formula
  homepage 'http://www.nongnu.org/lzip/plzip.html'
  url 'http://download.savannah.gnu.org/releases/lzip/plzip-1.0.tar.gz'
  sha1 'cb06d7c1f1b579f1d9f90faa7fe3a8b00c01091f'

  depends_on 'lzlib'

  def install
    system "./configure", "--prefix=#{prefix}", "CXX=#{ENV.cxx}",
                          "CXXFLAGS=#{ENV.cflags}"
    system "make"
    system "make check"
    system "make install"
  end
end