blob: ccc01cd0d20b12373509045c70a6fd102bbfc085 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
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"
bottle do
cellar :any
sha1 "d5a3f3c28b1e5510fc106a0070f4ba5a136ed67f" => :yosemite
sha1 "18f653871caf008d21292f12c43a5592e64e7816" => :mavericks
sha1 "5a65ab6f7a32e27c4908f33c46c150545317dbc7" => :mountain_lion
end
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
|