summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/iscan/doinst.sh4
-rw-r--r--system/iscan/iscan.SlackBuild4
-rw-r--r--system/iscan/iscan.info8
3 files changed, 9 insertions, 7 deletions
diff --git a/system/iscan/doinst.sh b/system/iscan/doinst.sh
index 5dc6bb58c0..854e20633d 100644
--- a/system/iscan/doinst.sh
+++ b/system/iscan/doinst.sh
@@ -1,3 +1,3 @@
-if [ -x usr/bin/update-desktop-database ]; then
- usr/bin/update-desktop-database -q usr/share/applications
+if [ -x /usr/bin/update-desktop-database ]; then
+ ./usr/bin/update-desktop-database -q usr/share/applications
fi
diff --git a/system/iscan/iscan.SlackBuild b/system/iscan/iscan.SlackBuild
index 656caf72f7..cab91f2b62 100644
--- a/system/iscan/iscan.SlackBuild
+++ b/system/iscan/iscan.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=iscan
-VERSION=2.10.0
+VERSION=2.11.0
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -39,6 +39,8 @@ if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
fi
rm -rf $PKG
diff --git a/system/iscan/iscan.info b/system/iscan/iscan.info
index c6dc3a3224..a473e53260 100644
--- a/system/iscan/iscan.info
+++ b/system/iscan/iscan.info
@@ -1,8 +1,8 @@
PRGNAM="iscan"
-VERSION="2.10.0"
+VERSION="2.11.0"
HOMEPAGE="http://www.avasys.jp/english/linux_e/"
-DOWNLOAD="http://lx1.avasys.jp/iscan/2.10.0/iscan_2.10.0-1.tar.gz"
-MD5SUM="8e44dac50f51b4c0a2f2e60624edfedb"
+DOWNLOAD="http://lx1.avasys.jp/iscan/2.11.0/iscan_2.11.0-1.tar.gz"
+MD5SUM="76991cb47dc8ff1269e47d4bce3d41b5"
MAINTAINER="Frank Caraballo"
EMAIL="fecaraballo{at}gmail{dot}com"
-APPROVED="David Somero"
+APPROVED="David Somero" \ No newline at end of file