homebrew-core/Formula/par2.rb

18 lines
512 B
Ruby
Raw Normal View History

require 'formula'
2009-09-23 18:46:43 +00:00
2011-03-10 05:11:03 +00:00
class Par2 < Formula
homepage 'http://parchive.sourceforge.net/'
2012-02-11 04:43:19 +00:00
url 'http://downloads.sourceforge.net/project/parchive/par2cmdline/0.4/par2cmdline-0.4.tar.gz'
sha1 '2fcdc932b5d7b4b1c68c4a4ca855ca913d464d2f'
2009-09-23 18:46:43 +00:00
def patches
2012-02-11 04:43:19 +00:00
"http://sage.math.washington.edu/home/binegar/src/par2cmdline-0.4-gcc4.patch"
2009-09-23 18:46:43 +00:00
end
def install
2012-02-11 04:43:19 +00:00
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
2009-09-23 18:46:43 +00:00
system "make install"
end
end