From 73dbaa4c0588343e09f8ee5aaf96da021f274e85 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Tue, 21 Mar 2017 00:16:05 -0400 Subject: ham/direwolf: Install doinst.sh, i486=>i586. Signed-off-by: B. Watson Signed-off-by: David Spencer --- ham/direwolf/direwolf.SlackBuild | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'ham/direwolf') 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} -- cgit v1.2.3