61b2307139
brewkit.rb changes ENV destructively, so lets not do that everytime a formula is required. Now it's possible for other tools to require a formula description without worrying about side-effects.
13 lines
291 B
Ruby
13 lines
291 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"
|
|
|
|
def install
|
|
system "./configure", "--prefix=#{prefix}"
|
|
system "make install"
|
|
end
|
|
end
|