From 39ce26832ee049b6875f5bcf71c8fbe85191069b Mon Sep 17 00:00:00 2001 From: Chris Lucas Date: Fri, 20 Sep 2013 22:30:08 -0700 Subject: [PATCH] SPIM 9.1.9 Closes #22721. Signed-off-by: Adam Vandenberg --- Library/Formula/spim.rb | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Library/Formula/spim.rb diff --git a/Library/Formula/spim.rb b/Library/Formula/spim.rb new file mode 100644 index 000000000000..b5f652397607 --- /dev/null +++ b/Library/Formula/spim.rb @@ -0,0 +1,18 @@ +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