From 679884de539411d2befef1c5bb5f37f80c01775e Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Tue, 17 Sep 2019 20:00:38 +0000 Subject: iscan-data: update to 1.39.1 --- iscan-data/build/iscan-data.SlackBuild | 56 ++++++++++++++++------------------ 1 file changed, 26 insertions(+), 30 deletions(-) (limited to 'iscan-data') diff --git a/iscan-data/build/iscan-data.SlackBuild b/iscan-data/build/iscan-data.SlackBuild index 78f9029c..f330111c 100755 --- a/iscan-data/build/iscan-data.SlackBuild +++ b/iscan-data/build/iscan-data.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh # $Id$ -# Copyright 2015 Eric Hameleers, Eindhoven, NL +# Copyright 2015, 2019 Eric Hameleers, Eindhoven, NL # All rights reserved. # # Permission to use, copy, modify, and distribute this software for @@ -33,6 +33,8 @@ # Changelog: # 1.36.0-1: 29/Jun/2015 by Eric Hameleers # * Initial build. +# 1.39.1-1: 16/sep/2019 by Eric Hameleers +# * Update. # # Run 'sh iscan-data.SlackBuild' to build a Slackware package. # The package (.t?z) and .txt file as well as build logs are created in /tmp . @@ -41,9 +43,10 @@ # ----------------------------------------------------------------------------- PRGNAM=iscan-data -VERSION=${VERSION:-1.36.0} +VERSION=${VERSION:-1.39.1} +MINVER=${MINVER:-2} BUILD=${BUILD:-1} -NUMJOBS=${NUMJOBS:-" -j4 "} +NUMJOBS=${NUMJOBS:-" -j$(nproc) "} TAG=${TAG:-alien} DOCS="COPYING KNOWN-PROBLEMS NEWS SUPPORTED-DEVICES" @@ -57,40 +60,33 @@ PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} SOURCE="$SRCDIR/${PRGNAM}-${VERSION}.tar.gz" -SRCURL="https://download3.ebz.epson.net/dsc/f/03/00/03/61/59/646738a219f7354bf3268897385f6ce48c0776bf/${PRGNAM}_${VERSION}-1.tar.gz" +SRCURL="http://support.epson.net/linux/src/scanner/iscan/${PRGNAM}_${VERSION}-${MINVER}.tar.gz" ## ## --- with a little luck, you won't have to edit below this point --- ## ## -# You can use your own private machine.conf file to overrule machine defaults: -if [ -e $SRCDIR/machine.conf ]; then - . $SRCDIR/machine.conf -elif [ -e /etc/slackbuild/machine.conf ]; then - . /etc/slackbuild/machine.conf -else - # Automatically determine the architecture we're building on: - MARCH=$( uname -m ) - if [ -z "$ARCH" ]; then - case "$MARCH" in - i?86) export ARCH=i486 ;; - # Unless $ARCH is already set, use uname -m for all other archs: - *) export ARCH=$MARCH ;; - esac - fi - # Set CFLAGS/CXXFLAGS and LIBDIRSUFFIX: - case "$ARCH" in - i486) SLKCFLAGS="-O2 -march=i486 -mtune=i686" - SLKLDFLAGS=""; LIBDIRSUFFIX="" - ;; - x86_64) SLKCFLAGS="-O2 -fPIC" - SLKLDFLAGS="-L/usr/lib64"; LIBDIRSUFFIX="64" - ;; - *) SLKCFLAGS=${SLKCFLAGS:-"O2"} - SLKLDFLAGS=${SLKLDFLAGS:-""}; LIBDIRSUFFIX=${LIBDIRSUFFIX:-""} - ;; +# Automatically determine the architecture we're building on: +MARCH=$( uname -m ) +if [ -z "$ARCH" ]; then + case "$MARCH" in + i?86) export ARCH=i586 ;; + # Unless $ARCH is already set, use uname -m for all other archs: + *) export ARCH=$MARCH ;; esac fi +# Set CFLAGS/CXXFLAGS and LIBDIRSUFFIX: +case "$ARCH" in + i?86) SLKCFLAGS="-O2 -march=$ARCH -mtune=i686" + SLKLDFLAGS=""; LIBDIRSUFFIX="" + ;; + x86_64) SLKCFLAGS="-O2 -fPIC" + SLKLDFLAGS="-L/usr/lib64"; LIBDIRSUFFIX="64" + ;; + *) SLKCFLAGS=${SLKCFLAGS:-"O2"} + SLKLDFLAGS=${SLKLDFLAGS:-""}; LIBDIRSUFFIX=${LIBDIRSUFFIX:-""} + ;; +esac TARGET=$ARCH-slackware-linux -- cgit v1.2.3