2013-09-21 05:30:08 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Spim < Formula
|
|
|
|
homepage 'http://spimsimulator.sourceforge.net/'
|
|
|
|
# No source code tarball exists
|
2014-03-21 08:51:10 +00:00
|
|
|
url 'http://svn.code.sf.net/p/spimsimulator/code', :revision => 641
|
|
|
|
version '9.1.13'
|
2013-09-21 05:30:08 +00:00
|
|
|
|
2014-03-21 09:03:29 +00:00
|
|
|
bottle do
|
|
|
|
sha1 "98be77d9b3af625b26981a5c53c10d74b6754bee" => :mavericks
|
|
|
|
sha1 "5ddae3d5c9d714e8db69e34e1c76760ce82bce87" => :mountain_lion
|
|
|
|
sha1 "c5f9128b9fdc7ba4a0c0fe77179ee241942be420" => :lion
|
|
|
|
end
|
|
|
|
|
2013-09-21 05:30:08 +00:00
|
|
|
def install
|
|
|
|
bin.mkpath
|
|
|
|
cd 'spim' do
|
|
|
|
system "make", "EXCEPTION_DIR=#{share}"
|
|
|
|
system "make", "install", "BIN_DIR=#{bin}",
|
|
|
|
"EXCEPTION_DIR=#{share}",
|
|
|
|
"MAN_DIR=#{man1}"
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|