--- /dev/null
+# HDW Linux spim
+#
+# [M] Jonathan J. Vargas demian@hackdaworld.dyndns.org
+# [I] A MIPS R2000/R3000 assembler simulator very powerful to learn MIPS code.
+# [V] 6.4
+# [S] 3 4
+# [D] spim.tar.gz http://www.cs.wisc.edu/~larus/SPIM/
+
+
+build_main() {
+ make spim
+ make xspim
+ make install BIN_DIR=/usr/bin spim
+}
+
+post_install(){
+ [ ! -d /usr/share/doc/spim ] && mkdir -v /usr/share/doc/spim
+ cp -v spim.html /usr/share/doc/spim
+ cp -v trap.handler /usr/etc/spim-trap.handler
+ echo installing man pages
+ cp -v *.man /usr/share/man/man1/
+
+ echo done
+}