homebrew-core/Formula/f3.rb

27 lines
735 B
Ruby
Raw Normal View History

class F3 < Formula
desc "Test various flash cards"
2014-06-21 20:22:31 +00:00
homepage "http://oss.digirati.com.br/f3/"
url "https://github.com/AltraMayor/f3/archive/v5.0.tar.gz"
sha256 "5febf7d2b822f2f2b9208dfd6c28e026a5f3797c044ca20912b9b93628c1f544"
head "https://github.com/AltraMayor/f3.git"
2014-12-22 00:48:32 +00:00
bottle do
cellar :any
2015-01-27 10:15:05 +00:00
sha1 "60c3eabb3069d9aca853a8e9a482b7922499dc56" => :yosemite
sha1 "e79ac68956f2b72bd76dbb8a359a75da12ed85fe" => :mavericks
sha1 "2407d28f6497df41aa5784e1cd0153d3fc8214c7" => :mountain_lion
2014-12-22 00:48:32 +00:00
end
def install
system "make", "all"
bin.install %w[f3read f3write]
man1.install "f3read.1"
man1.install_symlink "f3read.1" => "f3write.1"
end
test do
system "#{bin}/f3read", testpath
end
end