2012-03-28 09:35:42 +00:00
|
|
|
class Blazeblogger < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "CMS for the command-line"
|
2015-02-04 18:09:55 +00:00
|
|
|
homepage "http://blaze.blackened.cz/"
|
|
|
|
url "https://blazeblogger.googlecode.com/files/blazeblogger-1.2.0.tar.gz"
|
2015-08-03 12:55:31 +00:00
|
|
|
sha256 "39024b70708be6073e8aeb3943eb3b73d441fbb7b8113e145c0cf7540c4921aa"
|
2012-03-28 09:35:42 +00:00
|
|
|
|
2015-02-05 15:08:51 +00:00
|
|
|
bottle do
|
2015-10-07 06:47:48 +00:00
|
|
|
cellar :any_skip_relocation
|
|
|
|
revision 1
|
|
|
|
sha256 "0d6bf439fa6f880cb9457581da66082f49f514f8b0fd4b57ac81180948aaa5e1" => :el_capitan
|
|
|
|
sha256 "bac92237da25ffb0b9b31bd78fea353bf717cfb6f1381fbb0df333f555fbab91" => :yosemite
|
|
|
|
sha256 "d48ad0f2ce8de2cf98f111a491e47136debbd0e585ff20b9978eb00349e454b3" => :mavericks
|
2015-02-05 15:08:51 +00:00
|
|
|
end
|
|
|
|
|
2012-03-28 09:35:42 +00:00
|
|
|
def install
|
2015-02-04 18:09:55 +00:00
|
|
|
# https://code.google.com/p/blazeblogger/issues/detail?id=51
|
|
|
|
ENV.deparallelize
|
|
|
|
system "make", "prefix=#{prefix}", "compdir=#{prefix}", "install"
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
system bin/"blaze", "init"
|
|
|
|
system bin/"blaze", "config", "blog.title", "Homebrew!"
|
|
|
|
system bin/"blaze", "make"
|
|
|
|
assert File.exist? "default.css"
|
2015-10-05 12:05:34 +00:00
|
|
|
assert_match "Homebrew!", File.read(".blaze/config")
|
2012-03-28 09:35:42 +00:00
|
|
|
end
|
|
|
|
end
|