2011-03-10 05:11:03 +00:00
|
|
|
class CutyCapt < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Converts web pages to vector/bitmap images using WebKit"
|
2015-03-26 08:46:37 +00:00
|
|
|
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"
|
2011-01-19 15:55:31 +00:00
|
|
|
|
2015-03-27 01:20:07 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
|
|
|
sha256 "0be50eae29e65d857d1c46e31ee611e58e4ab6d7a4f01720238b13ef12739d27" => :yosemite
|
|
|
|
sha256 "bb1cc3c4e02ba780d9ba977445952c8bfa92e21eb5821a466beec0a376c45e43" => :mavericks
|
|
|
|
sha256 "804e8194a1280f535be0851de27d66867f90ccf47167c3729a7ba3f87f73d9ff" => :mountain_lion
|
|
|
|
end
|
|
|
|
|
2015-03-26 08:46:37 +00:00
|
|
|
depends_on "qt"
|
2011-01-19 15:55:31 +00:00
|
|
|
|
|
|
|
def install
|
2015-03-26 08:46:37 +00:00
|
|
|
system "qmake", "CONFIG-=app_bundle"
|
2011-01-19 15:55:31 +00:00
|
|
|
system "make"
|
|
|
|
bin.install "CutyCapt"
|
|
|
|
end
|
2015-03-26 08:46:37 +00:00
|
|
|
|
|
|
|
test do
|
|
|
|
system "#{bin}/CutyCapt", "--url=http://brew.sh", "--out=brew.png"
|
|
|
|
assert File.exist? "brew.png"
|
|
|
|
end
|
2011-01-19 15:55:31 +00:00
|
|
|
end
|