mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-07 02:22:37 -05:00
After the libjpeg update in #743, dependent bottles will no longer find it, requiring a rebuild from source. This change thus invalidates existing Tiger or Leopard bottles in the following formulae: - graphicsmagick - libtiff - sfml - webp
36 lines
1012 B
Ruby
36 lines
1012 B
Ruby
class Epeg < Formula
|
|
desc "JPEG/JPG thumbnail scaling"
|
|
homepage "https://github.com/mattes/epeg"
|
|
url "https://github.com/mattes/epeg/archive/v0.9.1.042.tar.gz"
|
|
sha256 "644362f87605e92f1e1cc0c421867252e4402939aeb4b36ad7cb385cc57a137c"
|
|
revision 1
|
|
|
|
head "https://github.com/mattes/epeg.git"
|
|
|
|
bottle do
|
|
cellar :any
|
|
sha1 "a12a4553bd78bff070f01be5d3e7062372383e31" => :yosemite
|
|
sha1 "ce665a144c3c355ae745067e686465f1f6dfafc3" => :mavericks
|
|
sha1 "24ca70477748c42a71a31df9facc1b21a400c1e1" => :mountain_lion
|
|
end
|
|
|
|
depends_on "automake" => :build
|
|
depends_on "jpeg"
|
|
depends_on "libexif"
|
|
|
|
def install
|
|
system "./configure", "--disable-debug",
|
|
"--disable-dependency-tracking",
|
|
"--disable-silent-rules",
|
|
"--prefix=#{prefix}"
|
|
system "make", "install"
|
|
end
|
|
|
|
test do
|
|
system "epeg", "--width=1",
|
|
"--height=1",
|
|
test_fixtures("test.jpg")
|
|
"out.jpg"
|
|
end
|
|
end
|