blob: 50a211c48a66ab811e019ce7c0979024a1734cc8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
require "formula"
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"
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
|