homebrew-core/Formula/ascii.rb
2014-08-01 07:58:10 -07:00

17 lines
383 B
Ruby

require 'formula'
class Ascii < Formula
homepage 'http://www.catb.org/~esr/ascii/'
url 'http://www.catb.org/~esr/ascii/ascii-3.14.tar.gz'
sha1 'fd8281078c1b3d52d4080ced1855f4f540d5a501'
def install
system "make"
bin.install "ascii"
man1.install 'ascii.1'
end
test do
assert shell_output(bin/"ascii 0x0a").include?("Official name: Line Feed")
end
end