diff options
| author | Caleb Xu | 2015-02-02 19:27:42 -0500 |
|---|---|---|
| committer | Mike McQuaid | 2015-02-04 11:22:55 +0000 |
| commit | 1bbc9cb06dec59fbfa3af84cb847c789a7db56fd (patch) | |
| tree | 49eff88894faf13cd0f62f5fdb0282880a5d2daf /Library | |
| parent | 7e4532f4a51beecc631179469f53cc3a58b4e5ea (diff) | |
| download | homebrew-1bbc9cb06dec59fbfa3af84cb847c789a7db56fd.tar.bz2 | |
imagejs 0.7.1
Closes #36480.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/imagejs.rb | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Library/Formula/imagejs.rb b/Library/Formula/imagejs.rb new file mode 100644 index 000000000..b829d79c8 --- /dev/null +++ b/Library/Formula/imagejs.rb @@ -0,0 +1,16 @@ +class Imagejs < Formula + homepage "http://jklmnn.de/imagejs/" + url "https://github.com/jklmnn/imagejs/archive/0.7.1.tar.gz" + sha1 "4c3e1c2134194cced5924c9cc577d36165548575" + head "https://github.com/jklmnn/imagejs.git" + + def install + system "make" + bin.install "imagejs" + end + + test do + (testpath/"test.js").write "alert('Hello World!')" + system "#{bin}/imagejs", "bmp", "test.js", "-l" + end +end |
