add Added Files:
[hdw-repos/packages.git] / demian / spim / spim
1 # HDW Linux spim
2 #
3 # [M] Jonathan J. Vargas demian@hackdaworld.dyndns.org
4 # [I] A MIPS R2000/R3000 assembler simulator very powerful to learn MIPS code.
5 # [V] 6.4
6 # [S] 3 4
7 # [D] spim.tar.gz http://www.cs.wisc.edu/~larus/SPIM/
8
9
10 build_main() {
11     make spim
12     make xspim
13     make install BIN_DIR=/usr/bin spim
14 }
15
16 post_install(){
17     [ ! -d /usr/share/doc/spim ] && mkdir -v /usr/share/doc/spim
18     cp -v spim.html /usr/share/doc/spim
19     cp -v trap.handler /usr/etc/spim-trap.handler
20     echo installing man pages
21     cp -v *.man /usr/share/man/man1/
22     
23     echo done
24 }