diff options
Diffstat (limited to 'development/yabasic/yabasic.SlackBuild')
-rw-r--r-- | development/yabasic/yabasic.SlackBuild | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/development/yabasic/yabasic.SlackBuild b/development/yabasic/yabasic.SlackBuild index 3376a7beb8..21ff3f4730 100644 --- a/development/yabasic/yabasic.SlackBuild +++ b/development/yabasic/yabasic.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for yabasic -# Copyright 2023 Antonio Leal, Porto Salvo, Oeiras, Portugal +# Copyright 2023-2025 Antonio Leal, Porto Salvo, Oeiras, Portugal # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=yabasic -VERSION=${VERSION:-2.90.4} +VERSION=${VERSION:-2.91.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -50,16 +50,12 @@ OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i586" ]; then SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" else SLKCFLAGS="-O2" - LIBDIRSUFFIX="" fi set -e @@ -77,7 +73,7 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; ./configure -make +CFLAGS="$SLKCFLAGS" make make check make install DESTDIR=$PKG @@ -94,6 +90,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild cp yabasic.htm $PKG/usr/doc/$PRGNAM-$VERSION +chmod 644 $PKG/usr/doc/$PRGNAM-$VERSION/yabasic.htm mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc |