homebrew-core/Formula/exact-image.rb
2018-12-18 12:24:19 +01:00

25 lines
781 B
Ruby

class ExactImage < Formula
desc "Image processing library"
homepage "https://exactcode.com/opensource/exactimage/"
url "https://dl.exactcode.de/oss/exact-image/exact-image-1.0.1.tar.bz2"
sha256 "3bf45d21e653f6a4664147eb4ba29178295d530400d5e16a2ab19ac79f62b76c"
bottle do
rebuild 1
sha256 "3c2f60adaefd294c52d8e55c5781eed44b93382776cb08b898a4b02b708954fe" => :mojave
sha256 "d9a2cdd3a88e19bb6e3c0f4c1712d58b80b4003b3fe676186a90a0e3827cb556" => :high_sierra
sha256 "22d98724dae572e22a2801ee3a5675d393588364ff5c950a0d323a6ca6411ecd" => :sierra
end
depends_on "pkg-config" => :build
depends_on "libagg"
def install
system "./configure", "--prefix=#{prefix}"
system "make", "install"
end
test do
system "#{bin}/bardecode"
end
end