diff options
author | Niels Horn <niels.horn@gmail.com> | 2010-06-12 06:39:09 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-06-12 07:47:28 -0500 |
commit | 6e28b4438c46cee8d67d923046786ffd04116b8f (patch) | |
tree | 4c97f1f268dede83008418c9220181a795efd662 /office/fbreader/fbreader.SlackBuild | |
parent | a6437a16c93a92fcf2a29834dbc651c2ba835110 (diff) |
office/fbreader: Updated for version 0.12.10.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'office/fbreader/fbreader.SlackBuild')
-rw-r--r-- | office/fbreader/fbreader.SlackBuild | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/office/fbreader/fbreader.SlackBuild b/office/fbreader/fbreader.SlackBuild index f1a3d68402f8f..68edd53452ce5 100644 --- a/office/fbreader/fbreader.SlackBuild +++ b/office/fbreader/fbreader.SlackBuild @@ -3,14 +3,22 @@ # Slackware build script for fbreader # Originally written by Audrius Kazukauskas <audrius@neutrino.lt> # Maintained as of version 0.12.1 by Niels Horn <niels.horn@gmail.com> -# revision date: 2010/03/27 +# revision date: 2010/06/01 PRGNAM=fbreader -VERSION=0.12.9 -ARCH=${ARCH:-i486} +VERSION=${VERSION:-0.12.10} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + # Unless $ARCH is already set, use uname -m for all other archs: + *) ARCH=$( uname -m ) ;; + esac +fi + CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM @@ -37,6 +45,10 @@ elif [ "$ARCH" = "arm" ]; then SLKCFLAGS="-O2 -march=armv4t" LIBDIRSUFFIX="" ARCHQUADLET="-gnueabi" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" + ARCHQUADLET="" fi set -e # Exit on most errors |