aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaleb Xu2015-02-02 19:27:42 -0500
committerMike McQuaid2015-02-04 11:22:55 +0000
commit1bbc9cb06dec59fbfa3af84cb847c789a7db56fd (patch)
tree49eff88894faf13cd0f62f5fdb0282880a5d2daf
parent7e4532f4a51beecc631179469f53cc3a58b4e5ea (diff)
downloadhomebrew-1bbc9cb06dec59fbfa3af84cb847c789a7db56fd.tar.bz2
imagejs 0.7.1
Closes #36480. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
-rw-r--r--Library/Formula/imagejs.rb16
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