From e1e8426af5dbd552d4b620fad6d9b8c71450fa0c Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Tue, 21 Mar 2017 00:15:11 -0400 Subject: ham/chirp: Install doinst.sh, i486=>i586. Signed-off-by: B. Watson Signed-off-by: David Spencer --- ham/chirp/chirp.SlackBuild | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'ham/chirp') diff --git a/ham/chirp/chirp.SlackBuild b/ham/chirp/chirp.SlackBuild index 3622036f5a..c93f661235 100644 --- a/ham/chirp/chirp.SlackBuild +++ b/ham/chirp/chirp.SlackBuild @@ -31,7 +31,7 @@ SRCNAM=$PRGNAM-daily if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -42,8 +42,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" @@ -89,6 +89,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} -- cgit v1.2.3