homebrew-core/Formula/libyaml.rb
Dominyk Tiller cbd855a771 libyaml: add a mirror.
Adds a mirror to the libyaml formula, and generally cleans up the
single/double quotes preference.

Closes Homebrew/homebrew#32986.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-10-07 04:37:58 +01:00

24 lines
725 B
Ruby

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