homebrew-core/Formula/jshon.rb
stephen 719d75af22 Fixes the SHA1 hash of the latest version of jshon.
Closes Homebrew/homebrew#15320.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-10-06 09:21:29 -07:00

20 lines
379 B
Ruby

require 'formula'
class Jshon < Formula
url 'http://kmkeen.com/jshon/jshon.tar.gz'
homepage 'http://kmkeen.com/jshon/'
sha1 'e8d710f621ed42ab126c921f87bc8906af16cd1d'
version '8'
depends_on 'jansson'
def install
system 'make'
bin.install 'jshon'
man1.install 'jshon.1'
end
def test
system "echo '[true,false,null]'| #{bin}/jshon -l"
end
end