From 8f3986179db510971715580d44291776c19e9b64 Mon Sep 17 00:00:00 2001 From: Niels Horn Date: Mon, 22 Mar 2010 02:27:39 -0500 Subject: office/fbreader: Updated for version 0.12.7. --- office/fbreader/fbreader.SlackBuild | 13 ++++++++++--- office/fbreader/fbreader.info | 6 +++--- 2 files changed, 13 insertions(+), 6 deletions(-) (limited to 'office/fbreader') diff --git a/office/fbreader/fbreader.SlackBuild b/office/fbreader/fbreader.SlackBuild index 1289f93e926d..a0899a999b26 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 # Maintained as of version 0.12.1 by Niels Horn -# 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 32454a8711a9..4f3223bace80 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" -- cgit v1.2.3