homebrew-core/Formula/uudeview.rb

24 lines
628 B
Ruby
Raw Normal View History

require 'formula'
class Uudeview < Formula
homepage 'http://www.fpx.de/fp/Software/UUDeview/'
url 'http://www.fpx.de/fp/Software/UUDeview/download/uudeview-0.5.20.tar.gz'
2012-06-27 22:45:24 +00:00
sha1 '2c6ab7d355b545218bd0877d598bd5327d9fd125'
2013-02-09 21:08:27 +00:00
# Fix function signatures (for clang)
def patches
2013-02-09 21:09:11 +00:00
{:p0 => "https://trac.macports.org/export/102865/trunk/dports/mail/uudeview/files/inews.c.patch"}
2012-06-27 22:45:24 +00:00
end
def install
2012-03-11 01:07:50 +00:00
system "./configure", "--prefix=#{prefix}",
"--mandir=#{man}",
"--disable-tcl"
system "make install"
end
def test
system "#{bin}/uudeview", "-V"
end
end