aboutsummaryrefslogtreecommitdiff
path: root/office/fbreader
diff options
context:
space:
mode:
authorNiels Horn <niels.horn@gmail.com>2010-03-22 02:27:39 -0500
committerErik Hanson <erik@slackbuilds.org>2010-05-13 14:27:03 +0200
commit8f3986179db510971715580d44291776c19e9b64 (patch)
treedc320050aa698bcbe3f9c07e8b18b7b77259cb75 /office/fbreader
parentdcd5d0d5baf9ea4b775d306cd87516db71253999 (diff)
office/fbreader: Updated for version 0.12.7.
Diffstat (limited to 'office/fbreader')
-rw-r--r--office/fbreader/fbreader.SlackBuild13
-rw-r--r--office/fbreader/fbreader.info6
2 files changed, 13 insertions, 6 deletions
diff --git a/office/fbreader/fbreader.SlackBuild b/office/fbreader/fbreader.SlackBuild
index 1289f93e926d0..a0899a999b263 100644
--- a/office/fbreader/fbreader.SlackBuild
+++ b/office/fbreader/fbreader.SlackBuild
@@ -3,10 +3,10 @@
# 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/02/23
+# revision date: 2010/03/21
PRGNAM=fbreader
-VERSION=0.12.5.1
+VERSION=0.12.7
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -24,12 +24,19 @@ UI=${UI:-qt4}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
+ ARCHQUADLET=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
+ ARCHQUADLET=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
+ ARCHQUADLET=""
+elif [ "$ARCH" = "arm" ]; then
+ SLKCFLAGS="-O2 -march=armv4t"
+ LIBDIRSUFFIX=""
+ ARCHQUADLET="-gnueabi"
fi
set -e # Exit on most errors
@@ -64,7 +71,7 @@ sed -i 's|moc-qt4|moc|' makefiles/arch/desktop.mk
sed -i 's|-I /usr/include/qt4|$(shell pkg-config --cflags QtGui)|' makefiles/arch/desktop.mk
sed -i 's|-lQtGui|$(shell pkg-config --libs QtGui)|' makefiles/arch/desktop.mk
-make LIBDIR=/usr/lib${LIBDIRSUFFIX}
+make -j1 LIBDIR=/usr/lib${LIBDIRSUFFIX}
make install LIBDIR=/usr/lib${LIBDIRSUFFIX} DESTDIR=$PKG
( cd $PKG
diff --git a/office/fbreader/fbreader.info b/office/fbreader/fbreader.info
index 32454a8711a91..4f3223bace803 100644
--- a/office/fbreader/fbreader.info
+++ b/office/fbreader/fbreader.info
@@ -1,8 +1,8 @@
PRGNAM="fbreader"
-VERSION="0.12.5.1"
+VERSION="0.12.7"
HOMEPAGE="http://fbreader.org/"
-DOWNLOAD="http://fbreader.org/fbreader-sources-0.12.5.1.tgz"
-MD5SUM="323b709f1375e5b6136982d447356305"
+DOWNLOAD="http://fbreader.org/fbreader-sources-0.12.7.tgz"
+MD5SUM="91577370c789c269af9caadc58adc57a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Niels Horn"