74c6d290de
Follow-up to https://github.com/Homebrew/homebrew/pull/42851 (rename objective-caml formula to ocaml). Renames formulas using/depending on ocaml in the main homebrew library Closes Homebrew/homebrew#43523. Signed-off-by: Xu Cheng <xucheng@me.com>
29 lines
996 B
Ruby
29 lines
996 B
Ruby
class Wyrd < Formula
|
|
desc "Ncurses-based front-end for remind"
|
|
homepage "http://pessimization.com/software/wyrd/"
|
|
url "http://pessimization.com/software/wyrd/wyrd-1.4.6.tar.gz"
|
|
sha256 "b2b51d6fb38f8b8b3ec30ee72093f791ba9b6fe35418191bc2011d2c8079997e"
|
|
|
|
bottle do
|
|
sha1 "dde6d73145bc484a9f0f62c909c20b26f5029e8d" => :yosemite
|
|
sha1 "92ee61c12e83ece68b9a28d8eb3cb9b95f201dca" => :mavericks
|
|
sha1 "dc2c60f856f3a7b7751a169c4c1ad2e860612af7" => :mountain_lion
|
|
end
|
|
|
|
depends_on "remind"
|
|
depends_on "ocaml" => :build
|
|
depends_on "camlp4" => :build
|
|
|
|
def install
|
|
ENV.deparallelize
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
"--prefix=#{prefix}",
|
|
"--enable-utf8"
|
|
system "make"
|
|
system "make", "install"
|
|
end
|
|
|
|
test do
|
|
assert_equal "REM Jan 1 2015 AT 00:01 MSG Happy New Year!\n", shell_output("#{bin}/wyrd --add 'Happy New Year! on 2015-01-1 at 00:01' /dev/stdout")
|
|
end
|
|
end
|