aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/plzip.rb
blob: b332fc58adb58ca765bceef343fc72278ca4ce3a (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.1.tar.gz'
  sha1 '22d3bba78b9219e7976372e24773d3abc0ff4563'

  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