diff options
-rw-r--r-- | academic/speedcrunch/README | 2 | ||||
-rw-r--r-- | academic/speedcrunch/speedcrunch.SlackBuild | 8 | ||||
-rw-r--r-- | academic/speedcrunch/speedcrunch.info | 2 |
3 files changed, 8 insertions, 4 deletions
diff --git a/academic/speedcrunch/README b/academic/speedcrunch/README index da7347588c1b..a2227d54bafa 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 fafd3cd0cb5e..df496abe6a9a 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 c3e4015f75ed..668d942801e9 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" |