summaryrefslogtreecommitdiff
path: root/academic
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja[at]gmail[dot]com>2010-05-13 00:20:23 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 00:20:23 +0200
commit7e3da41ec3d14af5a6540a5d8685e1494417dcb2 (patch)
treeb153740dd40ce747db0671f7ae827cb11e09180b /academic
parent257a0d99e9754f53aba6fc409a576d2ca602eb88 (diff)
downloadslackbuilds-7e3da41ec3d14af5a6540a5d8685e1494417dcb2.tar.gz
academic/speedcrunch: Updated for version 0.10.1
Diffstat (limited to 'academic')
-rw-r--r--academic/speedcrunch/README2
-rw-r--r--academic/speedcrunch/speedcrunch.SlackBuild8
-rw-r--r--academic/speedcrunch/speedcrunch.info2
3 files changed, 8 insertions, 4 deletions
diff --git a/academic/speedcrunch/README b/academic/speedcrunch/README
index da7347588c..a2227d54ba 100644
--- a/academic/speedcrunch/README
+++ b/academic/speedcrunch/README
@@ -1,3 +1 @@
SpeedCrunch is a fast, high precision and powerful desktop calculator.
-
-Requires QT4. \ No newline at end of file
diff --git a/academic/speedcrunch/speedcrunch.SlackBuild b/academic/speedcrunch/speedcrunch.SlackBuild
index fafd3cd0cb..df496abe6a 100644
--- a/academic/speedcrunch/speedcrunch.SlackBuild
+++ b/academic/speedcrunch/speedcrunch.SlackBuild
@@ -17,10 +17,13 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
fi
set -e
@@ -42,10 +45,11 @@ patch -p1 < $CWD/speedcrunch-0.10.1-fix-icon-name.patch
mkdir build && cd build
# Make translations for speedcrunch
- lrelease-qt4 ../src/$PRGNAM.pro
+ lrelease ../src/$PRGNAM.pro
cmake "-DCMAKE_INSTALL_PREFIX=/usr" \
"-DCMAKE_CXX_FLAGS=$SLKCFLAGS" \
"-DCMAKE_C_FLAGS=$SLKCFLAGS" \
+ "-DLIB_SUFFIX:STRING=${LIBDIRSUFFIX}" \
"-DCMAKE_BUILD_TYPE=$ARCH-slackware-linux" ../src
make
make install DESTDIR=$PKG
@@ -67,4 +71,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/academic/speedcrunch/speedcrunch.info b/academic/speedcrunch/speedcrunch.info
index c3e4015f75..668d942801 100644
--- a/academic/speedcrunch/speedcrunch.info
+++ b/academic/speedcrunch/speedcrunch.info
@@ -2,7 +2,9 @@ PRGNAM="speedcrunch"
VERSION="0.10.1"
HOMEPAGE="http://www.speedcrunch.org/en_US/index.html"
DOWNLOAD="http://speedcrunch.googlecode.com/files/speedcrunch-0.10.1.tar.gz"
+DOWNLOAD_x86_64=""
MD5SUM="344ee1303b05502d28c58a2fff1ca6b2"
+MD5SUM_x86_64=""
MAINTAINER="Larry Hajali"
EMAIL="larryhaja[at]gmail[dot]com"
APPROVED="rworkman"