mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-27 11:29:53 -05:00
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.
14 lines
291 B
Ruby
14 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
|