|
|
|
@ -1,6 +1,6 @@ |
|
|
|
#!/bin/bash |
|
|
|
|
|
|
|
# Slackware build script for Open SimH |
|
|
|
# Slackware build script for Open-SimH |
|
|
|
|
|
|
|
# Copyright 2023 Antonio Leal, Porto Salvo, Oeiras, Portugal |
|
|
|
# All rights reserved. |
|
|
|
@ -27,8 +27,8 @@ cd $(dirname $0) ; CWD=$(pwd) |
|
|
|
|
|
|
|
PRGNAM=open-simh |
|
|
|
SRCNAM=simh |
|
|
|
VERSION=${VERSION:-86b19c7} |
|
|
|
COMMIT=${COMMIT:-86b19c767b681385cf276b498073ab6702d39591} |
|
|
|
VERSION=${VERSION:-8b6c0b6} |
|
|
|
COMMIT=${COMMIT:-8b6c0b60c9e9d1d4eae62b52391b132f0450447c} |
|
|
|
BUILD=${BUILD:-1} |
|
|
|
TAG=${TAG:-_SBo} |
|
|
|
PKGTYPE=${PKGTYPE:-tgz} |
|
|
|
@ -84,9 +84,7 @@ find -L . \ |
|
|
|
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ |
|
|
|
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; |
|
|
|
|
|
|
|
# make BIN/vax |
|
|
|
# make BIN/pdp11 |
|
|
|
make all |
|
|
|
make -j1 all |
|
|
|
|
|
|
|
mkdir -p $PKG/opt/$PRGNAM/bin |
|
|
|
mv BIN/* $PKG/opt/$PRGNAM/bin |
|
|
|
@ -95,6 +93,10 @@ mv BIN/* $PKG/opt/$PRGNAM/bin |
|
|
|
mkdir -p $PKG/usr/bin |
|
|
|
( cd $PKG/usr/bin ; rm -rf open-simh-3b2 ) |
|
|
|
( cd $PKG/usr/bin ; ln -sf ../../opt/open-simh/bin/3b2 open-simh-3b2 ) |
|
|
|
( cd $PKG/usr/bin ; rm -rf open-simh-3b2-400 ) |
|
|
|
( cd $PKG/usr/bin ; ln -sf ../../opt/open-simh/bin/3b2-400 open-simh-3b2-400 ) |
|
|
|
( cd $PKG/usr/bin ; rm -rf open-simh-3b2-700 ) |
|
|
|
( cd $PKG/usr/bin ; ln -sf ../../opt/open-simh/bin/3b2-700 open-simh-3b2-700 ) |
|
|
|
( cd $PKG/usr/bin ; rm -rf open-simh-altair ) |
|
|
|
( cd $PKG/usr/bin ; ln -sf ../../opt/open-simh/bin/altair open-simh-altair ) |
|
|
|
( cd $PKG/usr/bin ; rm -rf open-simh-altairz80 ) |
|
|
|
@ -167,6 +169,8 @@ mkdir -p $PKG/usr/bin |
|
|
|
( cd $PKG/usr/bin ; ln -sf ../../opt/open-simh/bin/microvax3100m80 open-simh-microvax3100m80 ) |
|
|
|
( cd $PKG/usr/bin ; rm -rf open-simh-microvax3900 ) |
|
|
|
( cd $PKG/usr/bin ; ln -sf ../../opt/open-simh/bin/microvax3900 open-simh-microvax3900 ) |
|
|
|
( cd $PKG/usr/bin ; rm -rf open-simh-nd100 ) |
|
|
|
( cd $PKG/usr/bin ; ln -sf ../../opt/open-simh/bin/nd100 open-simh-nd100 ) |
|
|
|
( cd $PKG/usr/bin ; rm -rf open-simh-nova ) |
|
|
|
( cd $PKG/usr/bin ; ln -sf ../../opt/open-simh/bin/nova open-simh-nova ) |
|
|
|
( cd $PKG/usr/bin ; rm -rf open-simh-pdp1 ) |
|
|
|
|