blob: 70b3bd5289315d47a50c5cc6ce7890127112d64e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
  | 
require 'formula'
class Par < Formula
  homepage 'http://www.nicemice.net/par/'
  url 'http://www.nicemice.net/par/Par152.tar.gz'
  version '1.52'
  sha1 '4b83d2ec593bb45ee46d4b7c2bfc590e1f4a41a8'
  # A patch by Jérôme Pouiller that adds support for multibyte
  # charsets (like UTF-8), plus Debian packaging.
  patch do
    url "http://www.nicemice.net/par/par_1.52-i18n.3.diff.gz"
    sha1 "2a4fec5c2509be0dbd32c4706c245326db6dfeac"
  end
  def install
    system "make -f protoMakefile"
    bin.install "par"
    man1.install gzip("par.1")
  end
end
  |