homebrew-core/Formula/nickle.rb
Baptiste Fontaine 6722bed840 nickle: test added
Closes Homebrew/homebrew#40115.

Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-05-27 08:08:19 +02:00

17 lines
461 B
Ruby

class Nickle < Formula
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