2014-10-07 02:38:08 +00:00
|
|
|
require "formula"
|
2009-09-28 19:16:15 +00:00
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Libyaml < Formula
|
2014-10-07 02:38:08 +00:00
|
|
|
homepage "http://pyyaml.org/wiki/LibYAML"
|
|
|
|
url "http://pyyaml.org/download/libyaml/yaml-0.1.6.tar.gz"
|
|
|
|
mirror "https://mirrors.kernel.org/debian/pool/main/liby/libyaml/libyaml_0.1.6.orig.tar.gz"
|
|
|
|
sha1 "f3d404e11bec3c4efcddfd14c42d46f1aabe0b5d"
|
2009-09-28 19:16:15 +00:00
|
|
|
|
2014-02-24 16:45:09 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
2014-10-19 19:03:30 +00:00
|
|
|
revision 1
|
|
|
|
sha1 "1d30f0a8143ef4b66d4bbc07a739039ab216f2a2" => :yosemite
|
|
|
|
sha1 "59463ec0044fa00929d7bb272e8ed4aa202c57cf" => :mavericks
|
|
|
|
sha1 "6cf822fb1c5377243dfe458fb663800612a4b131" => :mountain_lion
|
2014-02-24 16:45:09 +00:00
|
|
|
end
|
|
|
|
|
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}"
|
2014-10-07 02:38:08 +00:00
|
|
|
system "make", "install"
|
2009-09-28 19:16:15 +00:00
|
|
|
end
|
2011-09-12 19:55:17 +00:00
|
|
|
end
|