aboutsummaryrefslogtreecommitdiff
path: root/network/ipscan/ipscan.SlackBuild
diff options
context:
space:
mode:
authorEdinaldo P. Silva <edps.mundognu@gmail.com>2017-03-19 23:59:21 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-03-19 23:59:21 +0700
commit80241ba8424c9cfa8ee6f7ae9c7ea74201d590df (patch)
tree6501c1dbb705d3cdc28ec8bc0efbd5f16cbc134e /network/ipscan/ipscan.SlackBuild
parentd040e85721802a114c888ff60905105d939afc77 (diff)
network/ipscan: Updated for version 3.5.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/ipscan/ipscan.SlackBuild')
-rw-r--r--network/ipscan/ipscan.SlackBuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/network/ipscan/ipscan.SlackBuild b/network/ipscan/ipscan.SlackBuild
index f65e5f9564f24..5afadeb4af7ff 100644
--- a/network/ipscan/ipscan.SlackBuild
+++ b/network/ipscan/ipscan.SlackBuild
@@ -2,7 +2,7 @@
#
# Slackware build script for ipscan.
#
-# Copyright 2015 Edinaldo P. Silva, Rio de Janeiro, Brazil.
+# Copyright 2015-2017 Edinaldo P. Silva, Rio de Janeiro, Brazil.
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,13 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=ipscan
-VERSION=${VERSION:-3.4}
+VERSION=${VERSION:-3.5.1}
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
@@ -40,8 +40,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -77,7 +77,7 @@ install -d $PKG/usr/share/{applications,pixmaps,$PRGNAM}
install -D -m644 $CWD/ipscan.desktop $PKG/usr/share/applications/ipscan.desktop
install -D -m644 $CWD/ipscan.png $PKG/usr/share/pixmaps/ipscan.png
-if [ "$ARCH" = "i486" ]; then
+if [ "$ARCH" = "i586" ]; then
cp $CWD/$SRCNAM-$VERSION.jar $PKG/usr/share/$PRGNAM
elif [ "$ARCH" = "x86_64" ]; then
cp $CWD/$SRCNAM$LIBDIRSUFFIX-$VERSION.jar $PKG/usr/share/$PRGNAM