1 # hdw - linux hdlmaker package
3 # author: hackbard@hackdaworld.org
7 # [D] hdlmaker_install.tar http://www.polybus.com/
9 prefix=$root/opt/hdlmaker
15 mkdir -p $prefix/{bin,lib,doc}
18 tar xvf $archdir/hdlmaker_install.tar
21 tar xvfz hdlmaker_lib.tar.gz -C libz
24 # symlinks (according to hdlmaker install.csh)
25 ln -svf xc4000 xc4000e
26 ln -svf xc4000 xc4000ex
27 ln -svf xc4000 xc4000xl
28 ln -svf spartan spartan-xl
29 ln -svf orca2c orca2ca
31 # copy sample environment file
32 cp csh/hdlmaker.* $prefix/doc
36 cd sources/hdlmaker_sources
37 sed 's%csh -f%sh%' makepmacs > tmp~
42 export HDLMAKER_LIB=$prefix