homebrew-core/Formula/ascii.rb

18 lines
383 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
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
2014-05-04 19:12:41 +00:00
assert shell_output(bin/"ascii 0x0a").include?("Official name: Line Feed")
end
end