2012-01-12 22:13:11 +00:00
|
|
|
class F3 < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Test various flash cards"
|
2014-06-21 20:22:31 +00:00
|
|
|
homepage "http://oss.digirati.com.br/f3/"
|
2015-01-27 09:31:48 +00:00
|
|
|
url "https://github.com/AltraMayor/f3/archive/v5.0.tar.gz"
|
2015-08-03 12:55:31 +00:00
|
|
|
sha256 "5febf7d2b822f2f2b9208dfd6c28e026a5f3797c044ca20912b9b93628c1f544"
|
2012-01-12 22:13:11 +00:00
|
|
|
|
2014-12-20 20:33:42 +00:00
|
|
|
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
|
|
|
|
|
2012-01-12 22:13:11 +00:00
|
|
|
def install
|
2015-01-27 09:31:48 +00:00
|
|
|
system "make", "all"
|
|
|
|
bin.install %w[f3read f3write]
|
2014-12-20 20:33:42 +00:00
|
|
|
man1.install "f3read.1"
|
|
|
|
man1.install_symlink "f3read.1" => "f3write.1"
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
system "#{bin}/f3read", testpath
|
2012-01-12 22:13:11 +00:00
|
|
|
end
|
|
|
|
end
|