diff options
author | Markus Reichelt <slackbuilds@mareichelt.de> | 2016-09-14 18:01:07 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-09-14 18:01:07 +0700 |
commit | 4e6cd1808a0282f9e83d480272aad7acdb52b52f (patch) | |
tree | cf3216f340e1a7f963329feb9d6b7d1be17f9996 | |
parent | b90f2411b15d8e635db07d4516ca182ec88cd8fd (diff) | |
download | slackbuilds-4e6cd1808a0282f9e83d480272aad7acdb52b52f.tar.gz |
libraries/libowfat: Switch to i586.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | libraries/libowfat/libowfat.SlackBuild | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libraries/libowfat/libowfat.SlackBuild b/libraries/libowfat/libowfat.SlackBuild index 0cbbb22548..56c614c993 100644 --- a/libraries/libowfat/libowfat.SlackBuild +++ b/libraries/libowfat/libowfat.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for libowfat -# Copyright (c) 2010-2015 Markus Reichelt, Stolberg (Rhld.), DE +# Copyright (c) 2010-2016 Markus Reichelt, Aachen, DE # All rights reserved. # # Permission to use, copy, modify, and distribute this software for @@ -28,12 +28,12 @@ PRGNAM=libowfat VERSION=${VERSION:-0.30} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -44,8 +44,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" LIBARCH="i386" elif [ "$ARCH" = "i686" ]; then @@ -79,9 +79,9 @@ cd $PRGNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; mkdir -p $PKG/opt/diet/man |