diff options
| author | Rui Pereira | 2013-02-18 10:44:37 +0100 |
|---|---|---|
| committer | Adam Vandenberg | 2013-04-14 12:36:16 -0700 |
| commit | 2978099d0cf0757f5a3e18cbb5bc9b1b0ceb7bfe (patch) | |
| tree | fe010c6159d6a95bd11ff87b55c330671811b67d /Library | |
| parent | cd22e0013fcca62c47a31339bde1b1b09883a34f (diff) | |
| download | homebrew-2978099d0cf0757f5a3e18cbb5bc9b1b0ceb7bfe.tar.bz2 | |
paps 0.6.8
Closes #17920.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/paps.rb | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/Library/Formula/paps.rb b/Library/Formula/paps.rb new file mode 100644 index 000000000..fc8075e0d --- /dev/null +++ b/Library/Formula/paps.rb @@ -0,0 +1,33 @@ +require 'formula' + +class Paps < Formula + homepage 'http://paps.sourceforge.net/' + url 'http://downloads.sourceforge.net/paps/paps-0.6.8.tar.gz' + sha1 '83646b0de89deb8321f260c2c5a665bc7c8f5928' + + depends_on 'pkg-config' => :build + depends_on 'pango' + + def install + system "./configure", "--disable-debug", "--disable-dependency-tracking", + "--prefix=#{prefix}" + system "make install" + end + + test do + # http://paps.sourceforge.net/small-hello.utf8 + utf8 = <<-EOS +paps by Dov Grobgeld (דב גרובגלד) +Printing through Παν語 (Pango) + +Arabic السلام عليكم +Bengali (বাঙ্লা) ষাগতোম +Greek (Ελληνικά) Γειά σας +Hebrew שָׁלוֹם +Japanese (日本語) こんにちは, コンニチハ +Chinese (中文,普通话,汉语) 你好 +Vietnamese (Tiếng Việt) Xin Chào + EOS + safe_system "echo '#{utf8}' | #{bin}/paps > paps.ps" + end +end |
