aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/libyaml.rb
blob: c4701a6c2142905c4b5f1d4c2b6fc85e84a0e622 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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'

  option :universal

  def install
    ENV.universal_binary if build.universal?

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