diff options
author | B. Watson <yalhcru@gmail.com> | 2017-03-20 07:22:22 -0400 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2017-03-25 13:27:06 +0000 |
commit | d93ddbc350292e4f74369484476a8cfd581f1e0e (patch) | |
tree | 7a7b0cfaf9888def8e82f2934cb3d6f4fe86a485 /desktop/velox | |
parent | 9937c5502a90e2d9dfde64f31fa018a5de750ced (diff) |
desktop/velox: Install doinst.sh, i486=>i586.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'desktop/velox')
-rw-r--r-- | desktop/velox/velox.SlackBuild | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/desktop/velox/velox.SlackBuild b/desktop/velox/velox.SlackBuild index 1aa9988cac1b9..d80694ea99947 100644 --- a/desktop/velox/velox.SlackBuild +++ b/desktop/velox/velox.SlackBuild @@ -29,7 +29,7 @@ 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 @@ -40,8 +40,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="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -95,6 +95,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} |