diff options
author | B. Watson <yalhcru@gmail.com> | 2017-03-21 00:16:05 -0400 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2017-03-25 13:28:06 +0000 |
commit | 73dbaa4c0588343e09f8ee5aaf96da021f274e85 (patch) | |
tree | 0761f3e0d4d1830cf6781b62a0907c3151a6c43f | |
parent | e1e8426af5dbd552d4b620fad6d9b8c71450fa0c (diff) | |
download | slackbuilds-73dbaa4c0588343e09f8ee5aaf96da021f274e85.tar.gz |
ham/direwolf: Install doinst.sh, i486=>i586.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r-- | ham/direwolf/direwolf.SlackBuild | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/ham/direwolf/direwolf.SlackBuild b/ham/direwolf/direwolf.SlackBuild index ae8d1d4c6e..83226d1803 100644 --- a/ham/direwolf/direwolf.SlackBuild +++ b/ham/direwolf/direwolf.SlackBuild @@ -27,7 +27,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 @@ -38,8 +38,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" @@ -99,6 +99,7 @@ find $PKG/usr/doc -type f -exec chmod 644 {} \; 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} |