homebrew-core/Formula/nickle.rb
2015-06-05 14:47:57 +01:00

18 lines
495 B
Ruby

class Nickle < Formula
desc "Desk calculator language"
homepage "http://www.nickle.org/"
url "http://www.nickle.org/release/nickle-2.77.tar.gz"
sha256 "a35e7ac9a3aa41625034db5c809effc208edd2af6a4adf3f4776fe60d9911166"
depends_on "readline"
def install
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make", "install"
end
test do
assert_equal "4", shell_output("#{bin}/nickle -e '2+2'").chomp
end
end