diff options
Diffstat (limited to 'Library/Formula')
| -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 |
