4fd634a9c3
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.
17 lines
370 B
Ruby
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
|