diff options
Diffstat (limited to 'misc/simh-classic/simh-classic.SlackBuild')
-rw-r--r-- | misc/simh-classic/simh-classic.SlackBuild | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/misc/simh-classic/simh-classic.SlackBuild b/misc/simh-classic/simh-classic.SlackBuild index 0bef46e241805..627753e0ab845 100644 --- a/misc/simh-classic/simh-classic.SlackBuild +++ b/misc/simh-classic/simh-classic.SlackBuild @@ -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 ) |