2014-12-19 02:02:59 +00:00
|
|
|
class Memo < Formula
|
2015-02-17 09:35:52 +00:00
|
|
|
homepage "http://www.getmemo.org"
|
2015-04-12 04:00:26 +00:00
|
|
|
url "http://www.getmemo.org/memo-1.6.tar.gz"
|
|
|
|
sha256 "08e32f7eee35c24a790eb886fdde9e86c4ef58d2a3059df95fd3a55718f79e96"
|
2015-02-17 09:35:52 +00:00
|
|
|
head "https://github.com/nrosvall/memo.git"
|
|
|
|
|
2015-01-10 05:08:59 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
2015-04-12 04:14:46 +00:00
|
|
|
sha256 "841ec3aa9b83f218069c2035c4818fcf3da6ae2c137e94ac446874eeb9719e41" => :yosemite
|
|
|
|
sha256 "e771214c2f839a58e329c986461810a89e259739ee24b209c6397191d2c2bb21" => :mavericks
|
|
|
|
sha256 "967b7a7f27726310aefac3a109879281f0de0eac010e448deab6ef7670ee7c29" => :mountain_lion
|
2015-01-10 05:08:59 +00:00
|
|
|
end
|
|
|
|
|
2014-12-19 02:02:59 +00:00
|
|
|
def install
|
|
|
|
bin.mkpath
|
|
|
|
system "make", "PREFIX=#{prefix}", "install"
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
ENV["MEMO_PATH"] = testpath/"memos"
|
|
|
|
system "#{bin}/memo", "-a", "Lorem ipsum dolor sit amet."
|
|
|
|
end
|
|
|
|
end
|