aboutsummaryrefslogtreecommitdiff
path: root/network/linuxdcpp/linuxdcpp.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-03-21 04:21:35 -0400
committerDavid Spencer <idlemoor@slackbuilds.org>2017-03-25 13:28:36 +0000
commitcae0bf800053edae7289a53b9e358a140dd2be7a (patch)
tree629e1b31c7ada0fb252cffcf07436992c59bf32a /network/linuxdcpp/linuxdcpp.SlackBuild
parent163b40da8135c2006f408ff7e39fd15a17ea1225 (diff)
network/linuxdcpp: Allow VERSION override, validate .desktop.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'network/linuxdcpp/linuxdcpp.SlackBuild')
-rw-r--r--network/linuxdcpp/linuxdcpp.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/network/linuxdcpp/linuxdcpp.SlackBuild b/network/linuxdcpp/linuxdcpp.SlackBuild
index 8bcf731583c5d..e83b5a345bd84 100644
--- a/network/linuxdcpp/linuxdcpp.SlackBuild
+++ b/network/linuxdcpp/linuxdcpp.SlackBuild
@@ -23,13 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=linuxdcpp
-VERSION=1.1.0
+VERSION=${VERSION:-1.1.0}
BUILD=${BUILD:-2}
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
@@ -41,8 +41,8 @@ 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"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
elif [ "$ARCH" = "x86_64" ]; then