homebrew-core/Formula/scale2x.rb
2018-04-25 23:11:31 +02:00

20 lines
729 B
Ruby

class Scale2x < Formula
desc "Real-time graphics effect"
homepage "https://www.scale2x.it/"
url "https://github.com/amadvance/scale2x/releases/download/v4.0/scale2x-4.0.tar.gz"
sha256 "996f2673206c73fb57f0f5d0e094d3774f595f7e7e80fcca8cc045e8b4ba6d32"
bottle do
cellar :any
sha256 "2a3519bdbba8ff6caa1ca9b48d461866b8121dfd224a2c25da106087bb3cfd61" => :high_sierra
sha256 "771e1b1ea660234e8bea89e774d0d802f7f1cb12c08e100cbb5b83d0a02a61ea" => :sierra
sha256 "033e1adf0430ced99eef1b746842e9ca876b542f6fbd8f050e8f7c7e1b59f692" => :el_capitan
end
depends_on "libpng"
def install
system "./configure", "--prefix=#{prefix}", "CPPFLAGS=-I/usr/include/malloc/"
system "make", "install"
end
end