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 | |
parent | a6437a16c93a92fcf2a29834dbc651c2ba835110 (diff) |
office/fbreader: Updated for version 0.12.10.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'office')
-rw-r--r-- | office/fbreader/README | 5 | ||||
-rw-r--r-- | office/fbreader/fbreader.SlackBuild | 18 | ||||
-rw-r--r-- | office/fbreader/fbreader.info | 6 |
3 files changed, 20 insertions, 9 deletions
diff --git a/office/fbreader/README b/office/fbreader/README index 157784bd717b8..06651245282af 100644 --- a/office/fbreader/README +++ b/office/fbreader/README @@ -2,6 +2,5 @@ FBReader is e-book reader for Linux PDAs and desktop. This requires liblinebreak. -This builds the Qt-based user interface by default; if you prefer to build -the GTK interface instead, run the script as follows: - UI=gtk ./fbreader.SlackBuild +This builds the Qt-based user interface by default; if you prefer the GTK +interface instead, run the script as follows: UI=gtk ./fbreader.SlackBuild 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 diff --git a/office/fbreader/fbreader.info b/office/fbreader/fbreader.info index 5866defae3a16..ba627c27b82a4 100644 --- a/office/fbreader/fbreader.info +++ b/office/fbreader/fbreader.info @@ -1,8 +1,8 @@ PRGNAM="fbreader" -VERSION="0.12.9" +VERSION="0.12.10" HOMEPAGE="http://fbreader.org/" -DOWNLOAD="http://fbreader.org/fbreader-sources-0.12.9.tgz" -MD5SUM="c034408e001edd88f576274188e42fa3" +DOWNLOAD="http://fbreader.org/fbreader-sources-0.12.10.tgz" +MD5SUM="da9ec4721efdb0ec0aaa182bff16ad82" DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="Niels Horn" |