summaryrefslogtreecommitdiff
path: root/system/dfu-util/dfu-util.SlackBuild
diff options
context:
space:
mode:
authorChristoph Willing <chris.willing@linux.com>2018-02-13 13:32:34 +1000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-02-17 07:42:59 +0700
commitd85b222885aaeede5896baf24e682b0b3b49246e (patch)
tree7fa10dee12df7ff9f2ddb15ad67b4ce59e59bd09 /system/dfu-util/dfu-util.SlackBuild
parent89616c6359c2f35b0282026d6c23d17541dc8829 (diff)
downloadslackbuilds-d85b222885aaeede5896baf24e682b0b3b49246e.tar.gz
system/dfu-util: Updated for version 0.9 + new maintainer
Signed-off-by: Christoph Willing <chris.willing@linux.com>
Diffstat (limited to 'system/dfu-util/dfu-util.SlackBuild')
-rw-r--r--system/dfu-util/dfu-util.SlackBuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/system/dfu-util/dfu-util.SlackBuild b/system/dfu-util/dfu-util.SlackBuild
index 87b624c98e..890878e1f8 100644
--- a/system/dfu-util/dfu-util.SlackBuild
+++ b/system/dfu-util/dfu-util.SlackBuild
@@ -1,15 +1,16 @@
#!/bin/sh
# Slackware build script for dfu-util
# Written by Damien Durand <splinux25@gmail.com>
+# 2018 Maintained by Christoph Willing <chris.willing@linux.com>
PRGNAM=dfu-util
-VERSION=${VERSION:-0.3}
+VERSION=${VERSION:-0.9}
BUILD=${BUILD:-1}
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
@@ -20,8 +21,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"