aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/libyaml.rb
blob: 489d6822f7e11e74140cdfb06830b4c3f89014cf (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.5.tar.gz'
  sha1 '8b78cb9f759c7d80db8a7328c0ebecfe34fde737'

  bottle do
    cellar :any
    sha1 "9aceef2301eaf12ac675c14706927e2d8889b7be" => :mavericks
    sha1 "72c026103aafa9cba293d0213ddec6028de98b63" => :mountain_lion
    sha1 "23909c4982f4d786c7339f6dfad09487561ce0f2" => :lion
  end

  option :universal

  def install
    ENV.universal_binary if build.universal?

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