2012-03-28 09:35:42 +00:00
|
|
|
class Blazeblogger < Formula
|
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"
|
|
|
|
sha1 "280894fca6594d0c0df925aa0a16b9116ee19f17"
|
2012-03-28 09:35:42 +00:00
|
|
|
|
2015-02-05 15:08:51 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
|
|
|
sha1 "2576ceff864dd2059bcd73af26f735725dd7274c" => :yosemite
|
|
|
|
sha1 "068b94d384d5820938c4561df7357ae116bf23c4" => :mavericks
|
|
|
|
sha1 "da491de4ea179354dcb8345b244d36fec30c0c6a" => :mountain_lion
|
|
|
|
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"
|
|
|
|
assert File.read(".blaze/config").include?("Homebrew!")
|
2012-03-28 09:35:42 +00:00
|
|
|
end
|
|
|
|
end
|