diff options
| author | Baptiste Fontaine | 2015-03-26 09:46:37 +0100 |
|---|---|---|
| committer | Xu Cheng | 2015-03-27 16:10:26 +0800 |
| commit | 2c13fa5410e80b9190999f5e4070c99c4eb562d8 (patch) | |
| tree | b7cd9a8606e4175b27af30577da9344aa7089c5f /Library | |
| parent | d9b59c7aad34fb0b7f361e9a0a47d0cc253cbc52 (diff) | |
| download | homebrew-2c13fa5410e80b9190999f5e4070c99c4eb562d8.tar.bz2 | |
cuty_capt: test added
Closes #38092.
Signed-off-by: Xu Cheng <xucheng@me.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/cuty_capt.rb | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/Library/Formula/cuty_capt.rb b/Library/Formula/cuty_capt.rb index 444b791eb..ec58303ef 100644 --- a/Library/Formula/cuty_capt.rb +++ b/Library/Formula/cuty_capt.rb @@ -1,16 +1,19 @@ -require 'formula' - 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' - sha1 '9c35cff498e8dfc351cbfeb884ad69f6ba29ae2e' + 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" - depends_on 'qt' + depends_on "qt" def install - system "qmake CONFIG-=app_bundle" + 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 |
