homebrew-core/Formula/libyaml.rb

26 lines
744 B
Ruby
Raw Normal View History

require "formula"
2011-03-10 05:11:03 +00:00
class Libyaml < Formula
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"
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
option :universal
def install
2013-05-27 01:52:34 +00:00
ENV.universal_binary if build.universal?
2013-05-27 01:52:34 +00:00
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
system "make", "install"
end
end