homebrew-core/Formula/par.rb

22 lines
553 B
Ruby
Raw Normal View History

require 'formula'
class Par < Formula
homepage 'http://www.nicemice.net/par/'
2013-01-29 05:01:15 +00:00
url 'http://www.nicemice.net/par/Par152.tar.gz'
version '1.52'
sha1 '4b83d2ec593bb45ee46d4b7c2bfc590e1f4a41a8'
2014-03-14 15:03:26 +00:00
# A patch by Jérôme Pouiller that adds support for multibyte
# charsets (like UTF-8), plus Debian packaging.
patch do
url "http://sysmic.org/dl/par/par_1.52-i18n.4.patch"
sha1 "9f774372c7eedc6970aa7e4ff40692428cbd84ee"
end
def install
system "make -f protoMakefile"
bin.install "par"
man1.install gzip("par.1")
end
end