diff options
author | Thomas Szteliga <ts@websafe.pl> | 2016-09-06 23:07:53 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-09-11 08:53:49 +0700 |
commit | 75a51ecf5f198febced8c98bce2b10f6c63a4f55 (patch) | |
tree | 0077955e7a54310d6b759a023e45f2c6e530e603 /network | |
parent | 3388e671dc9e365de7418d99c08549f784f64916 (diff) | |
download | slackbuilds-75a51ecf5f198febced8c98bce2b10f6c63a4f55.tar.gz |
network/sipcalc: i486 -> i586.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r-- | network/sipcalc/sipcalc.SlackBuild | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/network/sipcalc/sipcalc.SlackBuild b/network/sipcalc/sipcalc.SlackBuild index 754b9d1de2..299bdb0252 100644 --- a/network/sipcalc/sipcalc.SlackBuild +++ b/network/sipcalc/sipcalc.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for sipcalc -# Copyright (c) 2014 Thomas Szteliga <ts@websafe.pl> +# Copyright (c) 2014-2016 Thomas Szteliga <ts@websafe.pl>, Opole, PL # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -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" @@ -90,7 +90,16 @@ find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a doc/sipcalc.txt AUTHORS COPYING ChangeLog INSTALL NEWS README TODO $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + doc/sipcalc.txt \ + AUTHORS \ + COPYING \ + ChangeLog \ + INSTALL \ + NEWS \ + README \ + TODO \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |