X-Git-Url: https://hackdaworld.org/gitweb/?p=hdw-repos%2Fpackages.git;a=blobdiff_plain;f=demian%2Fspim%2Fspim;fp=demian%2Fspim%2Fspim;h=0fb7032c8f0ea1ff2ddc7fd7539aecf23636deaa;hp=0000000000000000000000000000000000000000;hb=f0cf5d9bdce8c606167c114b5ba06792a200b957;hpb=19e8a11f5a1789f804a1b0cb43b1d0c34bf5916c diff --git a/demian/spim/spim b/demian/spim/spim new file mode 100755 index 0000000..0fb7032 --- /dev/null +++ b/demian/spim/spim @@ -0,0 +1,24 @@ +# 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 +}