mirror of
https://github.com/SlackBuildsOrg/slackbuilds
synced 2024-09-28 15:21:00 +02:00
misc/simh-classic: Updated for version 3.12_5.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
92fb5052df
commit
e406b43526
2 changed files with 6 additions and 11 deletions
|
@ -25,11 +25,11 @@
|
|||
cd $(dirname $0) ; CWD=$(pwd)
|
||||
|
||||
PRGNAM=simh-classic
|
||||
VERSION=${VERSION:-3.12_4}
|
||||
VERSION=${VERSION:-3.12_5}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
BASENAME=${BASENAME:-simhv312-4}
|
||||
BASENAME=${BASENAME:-simhv312-5}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
case "$( uname -m )" in
|
||||
|
@ -72,10 +72,6 @@ unzip $CWD/$BASENAME.zip
|
|||
mv sim/* .
|
||||
rmdir sim
|
||||
|
||||
# Patch the sources in order for uc15 to compile...
|
||||
# gzipped to preserve CRLF line endings
|
||||
zcat $CWD/pdp11_defs.h.patch.gz | patch PDP11/pdp11_defs.h
|
||||
|
||||
chown -R root:root .
|
||||
find -L . \
|
||||
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
|
||||
|
@ -85,8 +81,8 @@ find -L . \
|
|||
|
||||
# make the simulators
|
||||
# Randomly fails with more than one job so use -j1
|
||||
make -j1 all
|
||||
#make -j1 pdp11
|
||||
make -j1 all
|
||||
|
||||
# install & strip binaries
|
||||
# The subdirectory BIN/buildtools will cause an exit code > 0 hence || true
|
||||
|
@ -145,7 +141,6 @@ mkdir -p $PKG/usr/bin
|
|||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
mv $BUILDDIR/doc/* $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
cat $CWD/pdp11_defs.h.patch.gz > $PKG/usr/doc/$PRGNAM-$VERSION/pdp11_defs.h.patch.gz
|
||||
|
||||
( cd $PKG/opt/$PRGNAM ; rm -rf doc )
|
||||
( cd $PKG/opt/$PRGNAM ; ln -sf ../../usr/doc/$PRGNAM-$VERSION doc )
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="simh-classic"
|
||||
VERSION="3.12_4"
|
||||
VERSION="3.12_5"
|
||||
HOMEPAGE="http://simh.trailing-edge.com/"
|
||||
DOWNLOAD="UNSUPPORTED"
|
||||
MD5SUM=""
|
||||
DOWNLOAD_x86_64="http://simh.trailing-edge.com/sources/simhv312-4.zip"
|
||||
MD5SUM_x86_64="aecca3d9b2f8065f93ba3831cfd1d6d0"
|
||||
DOWNLOAD_x86_64="http://simh.trailing-edge.com/sources/simhv312-5.zip"
|
||||
MD5SUM_x86_64="d3954619ac6f8a8cd5d9304923bb168a"
|
||||
REQUIRES=""
|
||||
MAINTAINER="Antonio Leal"
|
||||
EMAIL="antonioleal@yahoo.com"
|
||||
|
|
Loading…
Reference in a new issue