2010-12-11 16:30:07 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Flare < Formula
|
2010-12-11 16:30:07 +00:00
|
|
|
homepage 'http://labs.gree.jp/Top/OpenSource/Flare-en.html'
|
2013-01-29 17:56:50 +00:00
|
|
|
url 'http://labs.gree.jp/data/source/flare-1.0.16.1.tgz'
|
2013-09-27 18:35:11 +00:00
|
|
|
sha1 'a3d022005695bbba97da94f824702e54837ba03c'
|
2013-01-29 17:56:50 +00:00
|
|
|
|
|
|
|
head 'https://github.com/fujimoto/flare.git'
|
2010-12-11 16:30:07 +00:00
|
|
|
|
2013-01-29 17:56:50 +00:00
|
|
|
depends_on :autoconf
|
|
|
|
depends_on :automake
|
|
|
|
depends_on :libtool
|
2010-12-11 16:30:07 +00:00
|
|
|
depends_on 'tokyo-cabinet'
|
|
|
|
depends_on 'boost'
|
|
|
|
|
|
|
|
def install
|
2013-01-29 17:56:50 +00:00
|
|
|
# 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}"
|
2010-12-11 16:30:07 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|