diff options
| author | Sid Karunaratne | 2012-01-16 16:27:12 +0000 |
|---|---|---|
| committer | Adam Vandenberg | 2012-01-29 21:59:36 -0800 |
| commit | 207f18efe1f83acbc79527350759fb033b610cd6 (patch) | |
| tree | d13bdb044c218fc8157fb1aef1075c2279c7fbc7 /Library/Formula | |
| parent | 29426892fa2654ef4ad146f5a218b000a4c60b8d (diff) | |
| download | homebrew-207f18efe1f83acbc79527350759fb033b610cd6.tar.bz2 | |
jshon 8
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/jshon.rb | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Library/Formula/jshon.rb b/Library/Formula/jshon.rb new file mode 100644 index 000000000..677e0420f --- /dev/null +++ b/Library/Formula/jshon.rb @@ -0,0 +1,20 @@ +require 'formula' + +class Jshon < Formula + url 'http://kmkeen.com/jshon/jshon.tar.gz' + homepage 'http://kmkeen.com/jshon/' + sha1 'db7ec186d48b2e1937f7b5fbb8dfda298997b32c' + 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 |
