homebrew-core/Formula/spim.rb

19 lines
482 B
Ruby
Raw Normal View History

require 'formula'
class Spim < Formula
homepage 'http://spimsimulator.sourceforge.net/'
# No source code tarball exists
url 'http://svn.code.sf.net/p/spimsimulator/code', :revision => 606
version '9.1.9'
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