homebrew-core/Formula/icoutils.rb
2017-04-15 19:38:20 -04:00

26 lines
892 B
Ruby

class Icoutils < Formula
desc "Create and extract MS Windows icons and cursors"
homepage "http://www.nongnu.org/icoutils/"
url "https://savannah.nongnu.org/download/icoutils/icoutils-0.31.3.tar.bz2"
sha256 "d4651de8e3f9e28d24b5343a2b7564f49754e5fe7d211c5d4dd60dcd65c8a152"
bottle do
cellar :any
sha256 "1d627f415154d1701ca684f688f9d2b3f06e98844626615620e6076df9f4a49c" => :sierra
sha256 "ac584e12bc7623e171c074014d496143c1bdfbe5df6d71ab016fedf2f70fd274" => :el_capitan
sha256 "b20b2064a797c0c522efa466fd4b77baee10188aa3f263f62f2fec20e8c0653b" => :yosemite
end
depends_on "libpng"
def install
system "./configure", "--disable-dependency-tracking",
"--disable-rpath",
"--prefix=#{prefix}"
system "make", "install"
end
test do
system bin/"icotool", "-l", test_fixtures("test.ico")
end
end