blob: 452b6002579b8610d86e37783a1d8f4c79652def (
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
28
29
30
31
32
33
 | require 'formula'
class Libspiro < Formula
  homepage 'https://github.com/fontforge/libspiro'
  url 'https://downloads.sourceforge.net/project/libspiro/libspiro/20071029/libspiro_src-20071029.tar.bz2'
  sha1 'd8b407b835b35289af2914877a4c6000b4fdd382'
  bottle do
    cellar :any
    revision 1
    sha1 "ef44221e7e675704a36b0e0e8a78b350c22f67bf" => :yosemite
    sha1 "a1beaa7f9e7d1733fd0ab905c4445c30352e876d" => :mavericks
    sha1 "46e386cb03763d3de5b584afd77315ee044bcd2b" => :mountain_lion
  end
  head do
    url 'https://github.com/fontforge/libspiro.git'
    depends_on "automake" => :build
    depends_on "autoconf" => :build
    depends_on "libtool" => :build
  end
  def install
    if build.head?
      system "autoreconf", "-i"
      system "automake"
    end
    system "./configure", "--prefix=#{prefix}"
    system "make install"
  end
end
 |