summaryrefslogtreecommitdiff
path: root/office/fbreader/fbreader.SlackBuild
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/fbreader.SlackBuild
parentdcd5d0d5baf9ea4b775d306cd87516db71253999 (diff)
downloadslackbuilds-8f3986179db510971715580d44291776c19e9b64.tar.gz
office/fbreader: Updated for version 0.12.7.
Diffstat (limited to 'office/fbreader/fbreader.SlackBuild')
-rw-r--r--office/fbreader/fbreader.SlackBuild13
1 files changed, 10 insertions, 3 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