homebrew-core/Formula/gd.rb
Robert 4fd634a9c3 Added jpeg dependency to libgd as it fails to compile without it.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>

This issue manifests itself on 10.6 w/ LLVM, and gd may compile
fine on other configurations wihtout it.

Jpeg is a recommended dependency for this software anyway, though,
so add the dep.
2010-03-09 09:38:45 -08:00

17 lines
370 B
Ruby

require 'formula'
class Gd <Formula
version "2.0.36RC1"
url "http://www.libgd.org/releases/gd-#{version}.tar.gz"
homepage "http://www.libgd.org"
md5 "39ac48e6d5e0012a3bd2248a0102f209"
aka :libgd
depends_on 'jpeg' => :recommended
def install
system "./configure", "--prefix=#{prefix}", "--with-freetype=/usr/X11"
system "make install"
end
end