homebrew-core/Formula/libzzip.rb

17 lines
573 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Libzzip < Formula
url 'http://downloads.sourceforge.net/project/zziplib/zziplib13/0.13.61/zziplib-0.13.61.tar.bz2'
homepage 'http://sourceforge.net/projects/zziplib/'
sha1 'c7e526165e674962303d62798963d89524636813'
depends_on 'pkg-config' => :build
def install
system "./configure", "--prefix=#{prefix}", "--disable-dependency-tracking"
system "make install"
ENV.deparallelize # fails without this when a compressed file isn't ready.
system "make check" # runing this after install bypasses DYLD issues.
end
end