From 1bbc9cb06dec59fbfa3af84cb847c789a7db56fd Mon Sep 17 00:00:00 2001 From: Caleb Xu Date: Mon, 2 Feb 2015 19:27:42 -0500 Subject: imagejs 0.7.1 Closes #36480. Signed-off-by: Mike McQuaid --- Library/Formula/imagejs.rb | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Library/Formula/imagejs.rb (limited to 'Library') 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 -- cgit v1.2.3