blob: 7df186c6a5fb4028a9db78f48993f5316f452dc4 (
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
25
26
27
 | require 'formula'
class Libass < Formula
  homepage 'https://github.com/libass/libass'
  url 'https://github.com/libass/libass/releases/download/0.12.1/libass-0.12.1.tar.gz'
  sha1 'ddf61cf8e15fea7825667580b207d46fe34bd4ac'
  bottle do
    cellar :any
    sha1 "8e9905cdb32977625f493b809371bf402d201f75" => :yosemite
    sha1 "a17cdbc03fcb4a4e59da362dedbcc8f0dbdae286" => :mavericks
    sha1 "d6040252dce55cf05bc1c7765877d25fadea81f4" => :mountain_lion
  end
  depends_on 'pkg-config' => :build
  depends_on 'yasm' => :build
  depends_on 'freetype'
  depends_on 'fribidi'
  depends_on 'fontconfig'
  depends_on 'harfbuzz' => :optional
  def install
    system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
    system "make install"
  end
end
 |