2011-10-14 15:46:46 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Ispc < Formula
|
|
|
|
homepage 'http://ispc.github.com'
|
2012-08-04 02:15:57 +00:00
|
|
|
url 'https://github.com/downloads/ispc/ispc/ispc-v1.3.0-osx.tar.gz'
|
|
|
|
sha1 'ec60f9e08405b6160b98aefd8cb4f9f7ee07c12e'
|
2011-10-14 15:46:46 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
bin.install 'ispc'
|
|
|
|
end
|
|
|
|
|
|
|
|
def test
|
2012-05-15 21:36:45 +00:00
|
|
|
system "#{bin}/ispc", "-v"
|
2011-10-14 15:46:46 +00:00
|
|
|
end
|
|
|
|
end
|