summaryrefslogtreecommitdiff
path: root/office/fbreader
diff options
context:
space:
mode:
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 1289f93e92..a0899a999b 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 32454a8711..4f3223bace 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"