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.
13 lines
286 B
Ruby
13 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
|