aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/cuty_capt.rb
blob: 9617a8416eba611afecf6806dbe57c2e7498bf15 (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
26
class CutyCapt < Formula
  homepage "http://cutycapt.sourceforge.net/"
  url "http://ftp.de.debian.org/debian/pool/main/c/cutycapt/cutycapt_0.0~svn6.orig.tar.gz"
  version "0.0.6"
  sha256 "cf85226a25731aff644f87a4e40b8878154667a6725a4dc0d648d7ec2d842264"

  bottle do
    cellar :any
    sha256 "0be50eae29e65d857d1c46e31ee611e58e4ab6d7a4f01720238b13ef12739d27" => :yosemite
    sha256 "bb1cc3c4e02ba780d9ba977445952c8bfa92e21eb5821a466beec0a376c45e43" => :mavericks
    sha256 "804e8194a1280f535be0851de27d66867f90ccf47167c3729a7ba3f87f73d9ff" => :mountain_lion
  end

  depends_on "qt"

  def install
    system "qmake", "CONFIG-=app_bundle"
    system "make"
    bin.install "CutyCapt"
  end

  test do
    system "#{bin}/CutyCapt", "--url=http://brew.sh", "--out=brew.png"
    assert File.exist? "brew.png"
  end
end