summaryrefslogtreecommitdiffstats
path: root/system/brlaser/brlaser.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/brlaser/brlaser.SlackBuild')
-rw-r--r--system/brlaser/brlaser.SlackBuild13
1 files changed, 6 insertions, 7 deletions
diff --git a/system/brlaser/brlaser.SlackBuild b/system/brlaser/brlaser.SlackBuild
index 272b865153..8bad050070 100644
--- a/system/brlaser/brlaser.SlackBuild
+++ b/system/brlaser/brlaser.SlackBuild
@@ -25,19 +25,22 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=brlaser
-VERSION=${VERSION:-6}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-6.2.6}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -49,16 +52,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