diff options
author | B. Watson <yalhcru@gmail.com> | 2017-03-21 00:15:11 -0400 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2017-03-25 13:28:05 +0000 |
commit | e1e8426af5dbd552d4b620fad6d9b8c71450fa0c (patch) | |
tree | c2e9b4630ef2b31d69e5557f50f563508e11ced0 /ham | |
parent | 4a82027926b37f6594297f83b44d610fd7dd19f3 (diff) | |
download | slackbuilds-e1e8426af5dbd552d4b620fad6d9b8c71450fa0c.tar.gz |
ham/chirp: Install doinst.sh, i486=>i586.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'ham')
-rw-r--r-- | ham/chirp/chirp.SlackBuild | 7 |
1 files changed, 4 insertions, 3 deletions
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} |