2015-04-04 19:20:49 +00:00
|
|
|
class ExactImage < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Image processing library"
|
2015-04-04 19:20:49 +00:00
|
|
|
homepage "http://www.exactcode.com/site/open_source/exactimage"
|
|
|
|
url "http://dl.exactcode.de/oss/exact-image/exact-image-0.9.1.tar.bz2"
|
|
|
|
sha256 "79e6a58522897f9740aa3b5a337f63ad1e0361a772141b24aaff2e31264ece7d"
|
|
|
|
|
2015-05-09 20:36:12 +00:00
|
|
|
bottle do
|
|
|
|
sha256 "77f3d83c27eca6a0804c9edda52b4d49799a37b03a65f8316fa0c7e256437681" => :yosemite
|
|
|
|
sha256 "57fab089650fdbf201037ae199caf049db95ab42db3bc16d92e6323db09fa866" => :mavericks
|
|
|
|
sha256 "9526777ff0d57b8a8c56f23039c62495b02b419eb04e4d6e01d57b9f909594d5" => :mountain_lion
|
|
|
|
end
|
|
|
|
|
2015-04-04 19:20:49 +00:00
|
|
|
depends_on "pkg-config" => :build
|
|
|
|
depends_on "libagg"
|
|
|
|
depends_on "freetype" => :optional
|
|
|
|
|
|
|
|
def install
|
2015-08-05 16:32:17 +00:00
|
|
|
system "./configure", "--prefix=#{prefix}", "--without-libungif"
|
2015-04-04 19:20:49 +00:00
|
|
|
system "make", "install"
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
system "#{bin}/bardecode"
|
|
|
|
end
|
|
|
|
end
|