aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/f3.rb
blob: 7abf3b5b7e3c138d928e08e2f00bf21031945b0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
class F3 < Formula
  homepage "http://oss.digirati.com.br/f3/"
  url "https://github.com/AltraMayor/f3/archive/v5.0.tar.gz"
  sha1 "be28f55ea8450a388a0ea63dc1f810080d822d22"

  head "https://github.com/AltraMayor/f3.git"

  bottle do
    cellar :any
    sha1 "60c3eabb3069d9aca853a8e9a482b7922499dc56" => :yosemite
    sha1 "e79ac68956f2b72bd76dbb8a359a75da12ed85fe" => :mavericks
    sha1 "2407d28f6497df41aa5784e1cd0153d3fc8214c7" => :mountain_lion
  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