aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/flare.rb
blob: 4168766fee56c1c69be7ae6d9982a86a40d7439b (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 Flare < Formula
  homepage 'http://labs.gree.jp/Top/OpenSource/Flare-en.html'
  url 'http://labs.gree.jp/data/source/flare-1.0.16.1.tgz'
  sha1 'a3d022005695bbba97da94f824702e54837ba03c'

  head 'https://github.com/fujimoto/flare.git'

  depends_on :autoconf
  depends_on :automake
  depends_on :libtool
  depends_on 'tokyo-cabinet'
  depends_on 'boost'

  def install
    # Compatibility with Automake 1.13 and newer.
    inreplace 'configure.ac', 'AM_CONFIG_HEADER', 'AC_CONFIG_HEADERS'
    system "autoreconf -vfi"
    system "./configure", "--disable-dependency-tracking",
                          "--prefix=#{prefix}"
    system "make install"
  end
end