2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-09-28 19:16:15 +00:00
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Libyaml < Formula
|
2009-09-28 19:16:15 +00:00
|
|
|
homepage 'http://pyyaml.org/wiki/LibYAML'
|
2012-08-13 15:28:12 +00:00
|
|
|
url 'http://pyyaml.org/download/libyaml/yaml-0.1.4.tar.gz'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 'e0e5e09192ab10a607e3da2970db492118f560f2'
|
2009-09-28 19:16:15 +00:00
|
|
|
|
2012-08-13 15:28:12 +00:00
|
|
|
option :universal
|
2011-08-08 02:26:49 +00:00
|
|
|
|
2009-09-28 19:16:15 +00:00
|
|
|
def install
|
2013-05-27 01:52:34 +00:00
|
|
|
ENV.universal_binary if build.universal?
|
2011-08-08 02:26:49 +00:00
|
|
|
|
2013-05-27 01:52:34 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
|
2009-09-28 19:16:15 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
2011-09-12 19:55:17 +00:00
|
|
|
end
|