aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/libyaml.rb
blob: 4bb854d3b64bee590c36b38b180e52d15dbcda1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
require 'formula'

class Libyaml < Formula
  homepage 'http://pyyaml.org/wiki/LibYAML'
  url 'http://pyyaml.org/download/libyaml/yaml-0.1.6.tar.gz'
  sha1 'f3d404e11bec3c4efcddfd14c42d46f1aabe0b5d'

  bottle do
    cellar :any
    sha1 "25a60fa0c77710616018e9b5b013916579147338" => :mavericks
    sha1 "311062934d4bd12ef9881f568dbca21d22bbc8c6" => :mountain_lion
    sha1 "69c062b4beccde415c46048dc77a14f480ba31f3" => :lion
  end

  option :universal

  def install
    ENV.universal_binary if build.universal?

    system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
    system "make install"
  end
end