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.
12 lines
286 B
Ruby
12 lines
286 B
Ruby
require 'formula'
|
|
|
|
class Libyaml <Formula
|
|
url 'http://pyyaml.org/download/libyaml/yaml-0.1.3.tar.gz'
|
|
homepage 'http://pyyaml.org/wiki/LibYAML'
|
|
md5 'b8ab9064e8e0330423fe640de76608cd'
|
|
|
|
def install
|
|
system "./configure", "--prefix=#{prefix}"
|
|
system "make install"
|
|
end
|
|
end
|