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
347 B
Ruby
13 lines
347 B
Ruby
require 'formula'
|
|
|
|
class Tintin <Formula
|
|
url 'http://downloads.sourceforge.net/project/tintin/TinTin%2B%2B%20Source%20Code/1.99.7/tintin-1.99.7.tar.gz'
|
|
homepage 'http://tintin.sf.net'
|
|
md5 '397769453038db1697e460fe24218d7d'
|
|
|
|
def install
|
|
Dir.chdir "src"
|
|
system "./configure", "--prefix=#{prefix}"
|
|
system "make install"
|
|
end
|
|
end
|