diff options
| author | Xu Cheng | 2015-01-02 15:51:23 +0800 |
|---|---|---|
| committer | Jack Nagel | 2015-01-03 22:38:02 -0500 |
| commit | c4e656a36ce79de0d01612bb8b63f765502fb603 (patch) | |
| tree | 96bb695864dc63e941d2722baba4e140fa6eb14b /Library | |
| parent | 618f1235dcbe54b26d1111e737be4df3165cb9e4 (diff) | |
| download | homebrew-c4e656a36ce79de0d01612bb8b63f765502fb603.tar.bz2 | |
icoutils: add test
Closes #35453.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/icoutils.rb | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/Library/Formula/icoutils.rb b/Library/Formula/icoutils.rb index fa5ce547b..a99f79070 100644 --- a/Library/Formula/icoutils.rb +++ b/Library/Formula/icoutils.rb @@ -1,17 +1,19 @@ -require 'formula' - class Icoutils < Formula - homepage 'http://www.nongnu.org/icoutils/' - url 'http://savannah.nongnu.org/download/icoutils/icoutils-0.31.0.tar.bz2' - sha1 '2712acd33c611588793562310077efd2ff35dca5' + homepage "http://www.nongnu.org/icoutils/" + url "http://savannah.nongnu.org/download/icoutils/icoutils-0.31.0.tar.bz2" + sha1 "2712acd33c611588793562310077efd2ff35dca5" revision 1 - depends_on 'libpng' + depends_on "libpng" def install system "./configure", "--disable-dependency-tracking", "--disable-rpath", "--prefix=#{prefix}" - system "make install" + system "make", "install" + end + + test do + system "#{bin}/icotool", "-l", test_fixtures("test.ico") end end |
