2010-08-17 12:27:16 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Plustache < Formula
|
2010-11-10 18:16:28 +00:00
|
|
|
homepage 'https://github.com/mrtazz/plustache'
|
2014-01-29 12:54:15 +00:00
|
|
|
url 'https://github.com/mrtazz/plustache/archive/v0.3.0.tar.gz'
|
|
|
|
sha1 '6ade96f679be0eee049f283ca2d7885f923f2f8d'
|
2010-08-17 12:27:16 +00:00
|
|
|
|
2014-01-29 12:54:15 +00:00
|
|
|
depends_on 'autoconf' => :build
|
|
|
|
depends_on 'automake' => :build
|
|
|
|
depends_on :libtool
|
2010-08-17 12:27:16 +00:00
|
|
|
depends_on 'boost'
|
|
|
|
|
|
|
|
def install
|
2014-01-29 12:54:15 +00:00
|
|
|
system "autoreconf", "--force", "--install"
|
|
|
|
system "./configure", "--prefix=#{prefix}"
|
|
|
|
system "make", "install"
|
2010-08-17 12:27:16 +00:00
|
|
|
end
|
|
|
|
end
|